Jump to navigation Jump to search
INNL is a CAOS function which reads from the input stream.
Returns a line from the input stream. Reads past the newline but does not return it.
Read an entire file into va00. If you wanted to copy the file, you could direct the ouput stream and then output va00 at the end of this.
FILE IOPE 0 "myfile" DOIF INOK eq 1 SETS va00 "" LOOP ADDS va00 INNL ADDS va00 "\n" UNTL INOK eq 0 ENDI FILE ICLO