read(X) reads the next term from the input stream and matches it with X.
Succeeds only once.
Examples
See Input and Output
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.