[fpc-pascal]EOF function
James Mills
prologic at daisy.ods.org
Thu Sep 11 13:47:44 CEST 2003
Hi,
The following (attached) is a programming problem I've implemented.
Now I know the way I've done the EOF test is not correct, otherwise it
would not crash with a runtime error of 106.
Could someone show me the correct way of reading from stdin until there
is no more input ?
cheers
James
--
-
-Zero Defect Software Engineers Group - ZDSEG
-
-You need only two tools. WD-40 and duct tape.
-If it doesn't move and it should, use WD-40.
-If it moves and shouldn't, use the tape.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cycle.pas
Type: text/x-pascal
Size: 795 bytes
Desc: not available
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20030911/678be1d9/attachment.pas>
-------------- next part --------------
1 10
100 200
201 210
900 1000
More information about the fpc-pascal
mailing list