WRITE

Purpose: Write numeric values from memory into a specific file location.

Format:    WRITE   memory location   num    file position

Notes:      The  WRITE  function writes a total of  num  items starting at  memory location into a file starting at file position .  Parameters may be constants or variables.  The values written read may consist of bytes, integers or floating point  values depending on the format specified by the  OPEN  statement.  file position  is expressed in elements, not bytes. For example:  If the data type is  floating point then the 10th element is 40 bytes from beginning of the file. If  file position   is larger than the actual file size an error will occur.

See Also:  MEMORY    OPEN     READ