getchar
MINERVA superseeded IF/Prolog. Please see http://www.ifcomputer.co.jp/MINERVA for details.

We discontinued to sell IF/Prolog Dec 31. 2003. For current customers, we continue to provide professional support for IF/Prolog until Dec 31, 2008.

getchar(+文字列_式,+位置_式,-文字)

「文字列_式」の「位置_式」番目の文字と「文字」を単一化します。

?- getchar(atom,3,Ch).

Ch = o yes ?- _

atom_expected 「文字列_式」の値がアトムあるいは計算式でない integer_expected 「位置_式」が整数あるいは計算式でない


Up read on...