Re: Re[2]: reading a file
- Posted by David Cuny <dcuny at LANSET.COM> Jan 03, 2002
- 443 views
Kat wrote: > What about the last line in a text file that may > not end in a CR or a NL ? Good point. Some editors (like SciTE) don't put a CR/LF on the last line. I got bitten by this bug a couple weeks ago with an interpreter that I had written. The user was reporting odd errors that I couldn't duplicate, until it occured to me the last line of code wasn't being parsed. -- David Cuny