Availability:built-in
[ISO]read(-Term)Read the next Prolog term from the current input stream and unify it
with Term. On a syntax error read/1
displays an error message, attempts to skip the erroneous term and
fails. On reaching end-of-file
Term is unified with the atom end_of_file
.