Changes

Locomotive BASIC

109 bytes added, Thursday at 13:05
/* SAVE "filename" [,filetype][,paramter1,parameter2,parameter3] */
==== <code>CAT</code> ====
: Displays the names of the files on the tape or disc. Tape files are displayed in the order they are encountered. Disc files are sorted alphabetically by ACSII ASCII code. Only files matching the current user are displayed. Files marked as system are not displayed.
: Examples:
<pre>CAT :REM lists all disc files in alpha-numeric (ASCII) order</pre>
==== <code>OPENOUT ‹filename›</code> ====
: Opens the specified data file for writing. It writes an ASCII file. (To close writing use the The command <code>CLOSEOUT</code> finishes writing to the file and closes it cleanly.): 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>
</pre>
==== <code>SAVE "filename" [,filetype][,paramter1parameter1,parameter2,parameter3]</code> ====
: Command saves the current BASIC program / content from RAM onto a storage medium (e.g. Tape, Disc)
2,636
edits