EasyManua.ls Logo

Radio Shack TRS-80 Model 4 - Page 284

Radio Shack TRS-80 Model 4
418 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
SAVE
Examples
RUN
starts execution at lowest line number.
RUN
100
starts execution at line 100.
RUN
"PROGRAM/A"
loads and executes PROGRAM/A.
RUN
"EDITDATA", R
loads and executes EDITDATA, leaving OPEN files open.
Statement
SAVE
"filespec" [,A] [,PJ
Saves a program
in
a disk file under filespec.
If
filespec already exists, its contents will be lost as the file is
re-created.
SAVE without the A option saves the program
in
a compressed
format. This takes up less disk space.
It
also helps
in
performing
SAVEs and LOADs faster. BASIC programs are stored
in
RAM using
compressed format.
Using the A option causes the program to be saved in ASCII format.
This takes up more disk space. However, the ASCII format allows you
to MERGE this program later on. Also, data programs which will be
read by other programs must usually be in ASCII.
For compressed-format programs, a useful convention is to use the
extension BAS. For ASCII-format programs, use /TXT.
The P option protects the file by saving it in an encoded binary
format. When a protected file is later RUN (or LOADed), any attempt
to list or edit it fails. The only operations that can be performed on a
protected file are: RUN, LOAD, MERGE, and CHAIN.
2-158

Other manuals for Radio Shack TRS-80 Model 4

Related product manuals