EasyManua.ls Logo

Radio Shack TRS-80 Model 100

Radio Shack TRS-80 Model 100
210 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...
Lesson
#13
Function Keys
In this lesson you will learn to use the Function Keys
to
interrupt execution
of
a
program or
to
return any desired string
of
characters.
Experiment
#1
Programming the Function Keys
The keys on the top row
of
the Model 100 keyboard, labeled
Fl
through F8, are
called
Function
Keys. You have already used some
of
these in previous lessons. For
example,
(ll)
displays the files saved in RAM,
~
RUNs a BASIC program, and
CfID
LISTs a BASIC program.
These functions were built into the Function Keys to facilitate the use
of
frequently
used operations. However, you can program any Function Key to perform any other
operation or to input a string
of
characters.
Enter the following command:
KEYLIST
to display the strings programmed into each
of
the eight function keys. You should see
hEYLIST
F:i liE:?:"
Sa\/e
If
L:i.st
Ok
I
Load
Ii
F~L\n
!"1F~nL\
.
which indicates that the Function Keys are programmed
in
the following order:
Key
String
Key
String
ern
Files
(f2)
Load"
CEID
Save"
~
Run
CEID
List
~
~
(EID
Menu
Notice that
CE6)
and
~
are not programmed and contain null strings.
Enter the command:
KEY
G t
"PRINT
TIME$"
and press the function key
(fID.
You will see:
PRINT
TI
displayed, with the cursor positioned after the word TIME$. Press
(ENTER)
to obtain a
155

Other manuals for Radio Shack TRS-80 Model 100

Related product manuals