Rather than look to the second line ahead, you can look two lines back when reaching a '--'. Just a change of perspective that makes things much easier.
Just my 2 cents, -gjb-
In reply to Re: Help With Parsing a File
by gjb
in thread Help With Parsing a File
by PrimeLord
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |