and that the array is already in chronological order, you could loop through matching downs with ups in the following way:
The code I snipped below the above quote seems to be aimed at some specific parsing of some specific kind of file, and thus hardly answers the question contained in its own Subject, namely "How do I parse and evaluate a file line-by-line?" Or am I missing something? If not, then isn't this OT?
In reply to Re: Answer: How do I parse and evaluate a file line-by-line?
by blazar
in thread How do I parse and evaluate a file line-by-line?
by kendroid
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |