| :STANDARD.OUTPUT | |
| Syntax | MAKE "STANDARD.OUTPUT
channel |
| Explanation | STANDARD.OUTPUT is a pre-defined name
that controls the destination of the Logo output stream.
When Logo starts up, the default value of STANDARD.OUTPUT
is 0, which means that all output of Logo is written to
the Listener window. To change the destination of the output stream to another device such as a disk file, the device must be opened or created to prepare it for output, and STANDARD.OUTPUT assigned the name of the open file. To redirect Logo's input stream, use STANDARD.INPUT. See also OPEN and CREATE. Procedures which are run with the LAUNCH command or by clicking a control, bitmap, or turtle, obtain their own copy of the variable. Setting the variable affects neither the global setting nor other procedures running at the same time. |
| Example | The following procedure prints
"Hello World" into a file. TO
PRINT.HELLO :FILE |