Syntax
filename
A
P
SAVE
Command
Saves the current program on disk and gives
it a name. Option A saves the program in
ASCII format. Option P saves it protected.
SAVE filename [ , { A
I
P }]
is a string expression which specifies the name of the file to
be saved, and optionally the drive. If the filename extension
is omitted, .BAS is assumed. If the drive is omitted, the
default MS-DOS drive is assumed.
the A option will save the program in ASCII format.
Otherwise GWBASIC saves the file in a compressed binary
format. Programs saved in ASCII may be read as Data
Files or MERGEd.
the P option will save the program in an encoded binary
format. This is the protection option. When a protected
program is later RUN (or LOADed), any attempt to LIST or
EDIT it will fail with an "Illegal function call" error. No
way is provided to "unprotect" such a program.
7-293