Mail Archives: djgpp/1998/01/08/16:15:47
A. Jans-Beken writes:
>It seems that the standard function reads a string INCLUDING the '\n' at
>the end while the packed function reads a string WITHOUT the trailing
>'\n'.
The Allegro code reads the entire thing including the \n, but doesn't
bother storing the trailing character in the returned string. Yes, this
a slight difference, but I find it much more convenient that way :-)
This should certainly be mentioned in the docs, though...
--
Shawn Hargreaves - shawn AT talula DOT demon DOT co DOT uk - http://www.talula.demon.co.uk/
"Pigs use it for a tambourine" - Frank Zappa
- Raw text -