Input Command

The Input statement reads string and binary integer data from a file or input stream. With the standard input stream, as a convenience you can also list a quoted text argument; which writes a prompt to the standard output stream.

   INPUT  {Variable | Quote}, ...

When reading text into a string variable, characters are read up to the next end of line. Delimiters for the end of line can be any combination of line feed, return, return/line feed, or line feed/return.

Binary data can be read into integer variables. For variables larger than a byte, you can desgnate reading in big or little endian format. To read in numbers or any other data as formatted text, you need to first read into a string and then convert the text to binary. The Foundation Library has input parsers for numbers represented using several popular formats.

Trace Command

Assert Condition