Next: mpg-ref-get_mutable, Previous: mpg-ref-get_char, Up: mpg-bpr [Contents][Index]
get_code/[1,2]
ISOget_code(-Code)
get_code(+Stream, -Code)
Unifies Code with the next code from Stream or with -1 if there are no more characters.
stream_object, must be ground
Valid input text stream, defaults to the current input stream.
code or -1
Stream errors (see ref-iou-sfh-est), plus:
permission_error
Trying to read beyond end of Stream