read-char
(read-char [ fileHandle ] )
This function returns the integer value of the
character read from an open file fileHandle or from
keyboard.
Arguments |
fileHandle (optional) the handle of an open file as returned from (open); if omitted, input is taken from keyboard |
Return |
integer, the numerical representation of the character read from file (or keyboard) |
Example |
|
Remarks |
a newline is encountered (any combination of\n and \r), the decimal value 10 is returned; similar for other control characters |
© Bricsys NV. All rights reserved. |