Documentation Prolog Predicate Reference builtin get_char/1

get_char/1

Get character from current input stream.

Description

get_char( -character )

get_char(Char) read the current input stream and unifies Char with the next read character. On end-of-file, Char is bound to the atom end_of_file.

Implementation