==== <code>OPENOUT ‹filename›</code> ====
: Opens the specified data file for writing. It writes an ASCII file. (To close writing use the command <code>CLOSEOUT</code>.)
: Write to the file with PRINT#9. NOTE: No file is likely to be written until enough data is written (e.g. 2KB) or the file has at least 1 byte written and CLOSEOUT is used. NOTE: The following code pattern can be used to set MEMORY and lower HIMEM lower than would normally be allowed. This is often seen in disc loaders. This doesn't cause any file to be written:
OPENOUT"<filename>