| |||||||||||
| アトムと数の関係を定義する。
atom_number(-アトム, +数)
| |||||||||||
| atom_number(X,2.3). | X <- '2.3' の代入で、成功。 |
| atom_number('3',Y). | Y <- 3 の代入で、成功。 |
| atom_number('12',12). | 成功. |
| atom_number(X,Y). | 具体化エラー. |
この述語は、ISO-Prolog標準には含まれない。
atom_chars/2, atom_codes/2, atom_concat/3, atom_length/2, char_code/2, number_chars/2, number_codes/2, parse_atom/2/3, sub_atom/5.
| document: http://www.ifcomputer.co.jp/MINERVA/Manual/Reference/Predicates/atomic_term/atom_number/print_jp.html published 2008/11/17 update 1998/8/11 (c) 1996-2006 IF Computer Japan | ||||||||
|
| 戻る> |
|