Output Statements

The Output statements are intended for writing debugging output to the console to aid the programmer in the development process. It consists of the keyword 'Output' followed by a non-empty comma separated list of expressions.

outputstmt ::= Output expression [[ , expression ]] ;

If the expression yields a compound type then all the elements of the result are written. The system will need to know the data type of all the expressions so no literal structures may be used.

Output myarray, mystruct;