PDA

View Full Version : A seemingly strange limitation on file lines


Katherine001
10-08-2009, 08:29 PM
Here's an odd thing. I was using an lscript to read lines from a text file to use as a data file. I was using the parse() method of the file object agent.
It happily read everything until line 101,the last line. The last line is read as nils. For files with 101 or more lines you have to add a dummy line and not ask it to read the last line.