[fpc-pascal]unix EOF

Cyril Zlachevsky mazay at phone.dn.ua
Thu Jun 6 22:12:14 CEST 2002


Jonas Maebe wrote:
> 
> On Thu, 6 Jun 2002, Cyril Zlachevsky wrote:
> 
> 
>>     Reset(f);
>>     while (TmpChar <> #26) do read(f,TmpChar);
>>end.
>>---cut ttt.pp---
> 
> 
> Use
> 
> while not(eof(f)) do read(f,TmpChar);

Thanks!
But I can't find documentation on eof function in fpc 1.0.6 
documentation PDF!





More information about the fpc-pascal mailing list