reads a term from the current input stream
INCLUDE 'iolib.h' read(InputTerm)
void(Term) (o) term that was read
Reads a term from the input stream and matches it with Term. The current operator
declarations are used. The term must be followed by a dot and a newline character. Both
are removed from the current input stream. Fails if no valid term is encountered or it does
not match Term.
NOTE: In this version of BAP the dot is not required. This might change in future versions.
read(Expr), % e.g. enter "3+5.", "4*6." Sum is Expr, write(Sum),nl.
No runtime errors.
prolog-process, client-server, object
get , readln , readchar , readdevice