11.3.203 skip_code/[1,2]

Synopsis

skip_code(+Code)

skip_code(+Stream, +Code)

read up to and including the first occurrence of Code on the current input stream or on the input stream Stream.

Arguments

Stream
stream_object, must be ground

A valid input text stream, defaults to the current input stream.

Code
code

Exceptions

Stream errors (see ref-iou-sfh-est), plus:

existence_error
Attempt to read past end of file, or some operating system dependent error occurred in reading.

See Also

ref-iou-cin.


Send feedback on this subject.