|
Copyright ® (1999-2005) EDMGROUP Pty Ltd - EZY Prolog Reference |
[This is preliminary specification and subject to change.]
Group
Type
determ
Syntax
readint( INTEGER INT)
Flow patterns
(o)
Description:
The readint predicate reads an integer from the current read device, which is the keyboard, unless the default is changed via readdevice.
No conversion of the characters read takes place until readint encounters a carriage return (ASCII 13). The readint fails if the characters do not compose a valid integer, or if they specify an oversize integer
Sample:
No sample