| :STANDARD.INPUT | |
| Syntax | MAKE "STANDARD.INPUT
channel |
| Explanation | STANDARD.INPUT is a pre-defined name
that controls the source of the Logo input stream. When
Logo starts up, the default value of STANDARD.INPUT is 0,
which means that all input into Logo is read from the
Listener window. To change the source of the input stream to another device such as a disk file, the device must be opened or created to prepare it for input, and STANDARD.INPUT assigned the channel number which the OPEN command returned. To redirect Logo's output stream, use STANDARD.OUTPUT. 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 procedures print the
contents of a file to the screen. TO ECHO :FILE TO ECHO.LINES |