| |||||||||||
| 現在ストリーム位置の文字の文字コードを検索する。
peek_code(?文字)
| |||||||||||
| peek_code(0'a). | 成功. ストリーム位置は変わらない。 |
| peek_char(C). | (C<-0'a) の代入で成功。ストリーム位置は変わらない。 |
これらの述語は、ISO-Prolog 標準に含まれる。
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_jp.html published 2012/5/21 update 2001/8/28 (c) 1996-2009 IF Computer Japan | ||||||||
|
| 戻る> |
|