Welcome to the Creatures Wiki! Log in and join the community.
INOK
Jump to navigation
Jump to search
INOK is a CAOS function which checks the input stream.
Usage[edit]
Syntax: INOK
Returns 1 if the input stream is good, 0 if it is bad. The stream is bad after the end is reached (there is no more data to read) or if it was attached to a nonexistent file.
Use only after FILE IOPE, otherwise an error occurs. This means you cannot use INOK to check whether the input stream is attached.