in reply to Re: Re: How do I parse and evaluate a file line-by-line?
in thread How do I parse and evaluate a file line-by-line?

Thanks for that... I rarely use $array[$element] to grow an array, preferring "push", but I couldn't use push indiscriminately here because I needed to write over successive instances of UP or DOWN. Of course, $array[-1] was exactly what I was looking for. Gotta get used to using the relative position in an array....

And for the record, it wasn't "C think" as I actually know absolutely nothing about C. It was just inexperience. :-D

Gary Blackburn
Trained Killer