Documentation Prolog Predicate Reference builtin read_term/2

read_term/2

Read Prolog term from current input stream according to some options.

Description

read_term( -term, +stream_options )

read_term(Term, Options) unifies Term with the Prolog term read from the current input stream. The reading of the term is controlled by the options from the list Options. The available values for Options can be checked in the next section.

Options

read_term accepts a list of options as its last argument. These options are:

Implementation