projog

3.77. read(X) - reads a term from the input stream.

read(X) reads the next term from the input stream and matches it with X.

Succeeds only once.

Examples