INCLAN: readline

From CYANA Wiki
Revision as of 13:26, 29 January 2009 by Admin (talk | contribs) (1 revision)
Jump to navigation Jump to search

Usage: readline file variable [close]

The statements "readline" reads one line from the given file. If necessary, the file is opened, from an already open file, the next line is read. If the end-of-file is encountered the variable is set to "EOF", and the file is closed. The file is also closed if the "close" option is given.