
get_char(-Char)

   Reads the next character from the current input

Arguments
   Char                Single character string or variable.

Type
   Character I/O

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
   get_char(-) is det

Exceptions
     5 --- 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
