[ Character I/O | Reference Manual | Alphabetic Index ]
get_char(-Char)
Reads the next character from the current input
- Char
- Single character string or variable.
Description
   Takes a single-character string from the current input and unifies it
   with Char.
   Note that this predicate returns a string, while the corresponding predicate
   iso:get_char/1 returns an atom!
Modes and Determinism
Exceptions
- (5) type error 
- Char is instantiated, but not to a string.
Examples
   Equivalent to get_char(input, Char).  (see get_char/2 for details).
See Also
get_char / 2, iso : get_char / 1, put_char / 1, put_char / 2