INCLAN: readline

From CYANA Wiki
Revision as of 16:35, 13 August 2009 by Masayo (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Synopsis

readline file variable [close]

Description

Reads one line from a file and assigns it to a variable. If the file is not yet open, it is opened and the first line is read. If the file is already open, the next line is read. If the end of the file is reached, the variable is set to EOF and the file is closed. Optionally, the file can be closed after reading a line.