| |||||||||||
| reads from a stream a single character.
get_char(-Char)
| |||||||||||
| get_char(S, 'a'). | Succeeds. The stream position will be advanced by one character. |
| get_char('d'). | Fails. The stream position will be advanced by one character. |
These predicates are part of the ISO-Prolog Standard.
get_code/1/2, peek_char/1/2, peek_code/1/2, put_char/1/2, put_code/1/2, nl/0/1, set_input/1, current_input/1.
| document: http://www.ifcomputer.co.jp/MINERVA/Manual/Reference/Predicates/char_io/get_char/print_en.html published 2008/10/13 update 2001/8/28 (c) 1996-2006 IF Computer Japan | ||||||||
|
| Back> |
|