home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus 2000 #5 / Amiga Plus CD - 2000 - No. 5.iso / Tools / Dev / fpc / source / docs / refex / ex57.pp < prev    next >
Encoding:
Text File  |  2000-01-01  |  257 b   |  15 lines

  1. Program Example57;
  2.  
  3. { Program to demonstrate the SeekEof function. }
  4. Var C : Char;
  5.  
  6. begin
  7.   { this will print all characters from standard input except
  8.     Whitespace characters. }
  9.   While Not SeekEof do
  10.     begin
  11.     Read (C);
  12.     Write (C);
  13.     end;
  14. end.
  15.