| |||||||||||
| 現在ストリーム位置で文字を検索する。
peek_char(?文字)
| |||||||||||
| peek_char('a'). | 成功. ストリーム位置は、変わらない。 |
| peek_char(C). | (C<-'a') の代入で成功 。ストリーム位置は、変わらない。 |
これらの述語は、ISO-Prolog 標準に含まれる。
get_char/1/2, get_code/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/peek_char/print_jp.html published 2008/9/1 update 2001/8/28 (c) 1996-2006 IF Computer Japan | ||||||||
|
| 戻る> |
|