Go to the first, previous, next, last section, table of contents.


Term input

Version: 1.7#194 (2002/4/4, 21:8:41 CEST)

Version of last change: 1.7#43 (2001/1/15, 17:34:58 CET)

Usage and interface (read)

Documentation on exports (read)

PREDICATE: read/1:

read(Term)

Like read(Stream,Term) with Stream associated to the current input stream.

PREDICATE: read/2:

Usage: read(+Stream,?Term) * ISO *

PREDICATE: read_term/2:

PREDICATE: read_term/3:

PREDICATE: read_top_level/3:

No further documentation available for this predicate.

PREDICATE: second_prompt/2:

No further documentation available for this predicate.

Documentation on multifiles (read)

PREDICATE: define_flag/3:

Defines flags as follows:

define_flag(read_hiord,[on,off],off).

(See section Changing system behaviour and various flags).

If flag is on (it is off by default), a variable followed by a parenthesized lists of arguments is read as a call/N term, except if the variable is anonymous, in which case it is read as an anonymous predicate abstraction head. For example, P(X) is read as call(P,X) and _(X,Y) as "(X,Y).

The predicate is multifile.


Go to the first, previous, next, last section, table of contents.