EasyManua.ls Logo

Radio Shack TRS-80 X-PAD GT-116 - 10; Menu or Ala Carte?; Menu Routine

Radio Shack TRS-80 X-PAD GT-116
65 pages
Print Icon
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...
10/
Menu or
Ala
Carte?
An
X-Pad
Menu Lets you
define
certain
areas
of the
Writing
Surface for
special
purposes.
When
you select one
of the
pre-defined
Menu
areas, the routine
assigned
to
that
area
is
executed.
A
Menu can
be located in
the Display
Area
or
Menu Area
on
the
X-Pad.
The
following
program sets up
a
Menu in
the
Display Area.
This Menu
resembles the
keyboard
on
a
push-button
telephone:
rn9
Q00
mas
000
Figure
7.
Telephone
Keyboard
Menu Routine
10
CLSiREM
MENU
PROGRAM
20
GOSUB
250
30 IF
S<>3
THEN 20
40
R=INT(Y/28)+l:C=INT(X/2B)+l
50
IF
R>4 OR
C>3
THEN
230
31