Radio Shack TRS-80 Model 100 Basic Manual page 22

Basic language lab
Hide thumbs Also See for TRS-80 Model 100:
Table of Contents

Advertisement

1PROG
MICROCOMPUTER
The following are examples of illegal filenames:
(must begin with a letter)
(exceeds the maximum of six c,haracters in any file
name)
Suppose you want to save the program above under the filename
PROG1
To do this, simply type:
SAVE IPROG1"
~
The Display will show the prompt OK to indicate that the program has been SAVEd.
Use the command NEW to clear the program from working memory. To verify that
the program no longer exists in working memory, enter the command:
LIST (ENTER)
or press
~,
the LIST Function Key. The computer will respond with:
LIST
OK
and nothing else, indicating that there is no program currently in working memory.
The program has not been wiped out. It has been erased from working memory but it
now exists in RAM. To confirm that this is true, enter the command:
FILES (ENTER)
or press the FILES Function Key,
®.
In response to this command, the names of all
the
file~
stored in RAM, including all BASIC programs, will be displayed. In this
case, if you haven't SAVEd any other programs or files, the name
PROG1.BA
will be displayed.
This is your program. The characters" .BA" form a "file extension" which indicates
that this file is a BASIC program. The Computer automatically appends this extension
to the name of any BASIC program when it is saved in RAM.
If you want more proof that your program was indeed saved as a file, press the Menu
Function Key, CEB). You will see PROG1.BA displayed in the Main Menu as shown
below.
21350 Bytes free
Jun 22,1983 Wed 10:34:17
BASIC
TEXT
TEL COM
SCHEDL
PROG1.BA
.
.....
,.
..
Select:
16
""'.
---

Advertisement

Table of Contents
loading

Table of Contents