info.mailtraq.com > Management > Script Functions A-Z > Read() Read()Reads the line of text referenced by the file pointer from a text file opened using the OpenFile() function. The file pointer is advanced after each read so that consecutive reads return consecutive lines of text from the file. When the file pointer reaches the end of the opened file, the EOF() function returns true.
result := Read( handle )
- result
- A single line of text retrieved from an opened file
- handle
- The file identifier returned by the OpenFile() function
See examples provided in the OpenFile() and Write() functions |