| |||||||||||
| gets the code of a character or reversely.
char_code(+Char, -CharCode)
| |||||||||||
| char_code('a', X). | Succeeds with substitution X <- 97 |
| char_code(Y, 98). | Succeeds with substitution Y <- 98 |
| char_code('c', 99). | Succeeds. |
This predicate is part of the ISO-Prolog Standard.
| document: http://www.ifcomputer.co.jp/MINERVA/Manual/Reference/Predicates/atomic_term/char_code/print_en.html published 2008/11/17 update 1998/8/11 (c) 1996-2006 IF Computer Japan | ||||||||
|
| Back> |
|