| mine | yours | ||
| HTM | 1 | HTM | 1 |
| ASP | 31 | ASP | 1 |
| HTM | 31 | HTM | 31 |
| ASP | 44 | ASP | 31 |
| HTM | 46 | HTM | 46 |
| ASP | 50 | ASP | 46 |
| HTM | 50 | HTM | 50 |
| ASP | 55 | ASP | 50 |
| HTM | 59 | HTM | 59 |
| ASP | 73 | ASP | 59 |
| HTM | 75 | HTM | 75 |
that is, it counts correctly for HTM blocks, but doesn't increment the line number for ASP blocks. I tried moving the line $line += ... before the push, but it didn't help.
King of Laziness, Wizard of Impatience, Lord of Hubris
In reply to Re: Re: Re: Re: parsing an ASP file
by dada
in thread parsing an ASP file
by dada
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |