function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
bca321bca321 

line


Message Edited by bca321 on 03-02-2009 08:42 PM
SuperfellSuperfell

how are you reading/parsing the text file ?

http://www.catb.org/~esr/faqs/smart-questions.html 

bca321bca321

 

Message Edited by bca321 on 03-02-2009 08:39 PM
SuperfellSuperfell
put an if statement in your for loop so that you only process the lines you want to. (if its just line numbers, look at i)
bca321bca321
Message Edited by bca321 on 03-02-2009 08:39 PM
SuperfellSuperfell
pick a delimiter to start (e.g. line starts with RECIPTS), and pick a delimiter to stop (e.g. an empty line), then keep track if you're in the section you care about or not.