Open a file; returns a FileHandle, or null on failure
import "file" fh = file.open("data.txt", "r") if fh == null then print "failed to open file" else while not fh.atEnd print fh.readLine end while fh.close end if
There was an error while loading. Please reload this page.