CREATE deletes the DOS file with the name specified by its input. A new, empty file is prepared for output and its assigned Logo stream number is output. Data may then be written to the stream using the PRINT, TYPE and other Logo stream output primitives by making STANDARD.OUTPUT the stream number.
If a DOS device name is specified, CREATE functions as OPEN.
The following procedure prints titles of user-defined procedures in workspace into a disk file.
- MAKE "STANDARD.OUTPUT CREATE "PROCS
- CLOSE :STANDARD.OUTPUT
- MAKE "STANDARD.OUTPUT 0