| |||||||||||
| retrieve the character code of the character at the current stream position.
peek_code(?Char)
| |||||||||||
| peek_code(0'a). | Succeeds. The stream position will not be altered. |
| peek_char(C). | Succeeds with substitution(C<-0'a). The stream position will not be altered. |
These predicates are part of the ISO-Prolog Standard.
get_char/1/2, get_code/1/2, peek_char/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/peek_code/print_en.html published 2008/11/17 update 2001/8/28 (c) 1996-2006 IF Computer Japan | ||||||||
|
| Back> |
|