38
SAVE (save)
Registers the program as a file.
Format:
SAVE" [<device name> :] <filename> " [<,A>]
Note: Only FDn or CMT device name.
Abbreviated form:
SA.
Explanation:
• Registers the program as a file on the floppy disk, etc.
• If
the device designated by the DEFAULT statement is specified, the <device
name> can be omitted.
• If
option "A" is applied, the SAVE is as ASCiI format.
The file is saved as a BSD file, so take care not to assign a filename which would be
confused with the data file made by WOPEN # and PRINT # statements.
• The file type created by the SAVE command is a BTX or BSD file.
• The <file name> cannot be omitted.
Example:
SAVE
"FD1:PROG"
..... Puts the file name "PROG" in the program on the floppy disk (drive number 1)
and registers it. The type of registered file becomes BTX.