users-prolog
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Documentation cut and paste error for byte input?


From: Sean Charles
Subject: Re: Documentation cut and paste error for byte input?
Date: Sun, 24 Nov 2013 16:24:41 +0000

> 
> Note that the above says byte input, not byte return type.  I think it is
> the same as getc() in C.  It reads bytes but returns larger integer to
> facilitate signaling end of file.
> 
> Under these assumptions 0xFF would be 255, not -1.
> 

Yes, but in byte mode, 0xFF is a valid byte…..I still think it is a 
documentation problem, it’s the classic “rogue value” problem.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]