Object function reference

open

A reference entry for open

Object function · TextFileReader

open(string file) ⇒ boolean

Closes any previously opened file, then opens file for sequential reading. Returns true when the file was opened successfully, or false when it could not be opened.