Documentation Prolog Predicate Reference builtin get_code/2

get_code/2

Get character code from input stream.

Description

get_code( +stream, -character_code )

get_code(Stream, Code) read the input stream Stream and unifies Code with the character code of the next read character.

Implementation