EasyManuals Logo

Tandy 1000 Basic Reference Manual

Default Icon
411 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
Page #194 background imageLoading...
Page #194 background image
Chapter
10
I
BASIC
Keywords
KEY/Trap
Statement
KEY(number)
action
Turns on, turns
off,
or
temporarily halts key trapping for a spec-
ified key.
Action may be any
of
the following:
ON
enables key trapping
OFF disables key trapping
STOP temporarily suspends key trapping
Number may be a number in the range
1
to
20, indicating the
number of the key to trap. Function keys use their corresponding
function key number (1-10). The cursor direction key trap num-
bers are:
11
12
13
14
User-defined keys are 15-20. Use the following syntax
to
define
your own user keys:
KEY
number, CHR$(key)
+
CHR$(scan)
Key is one
of
or a combination
of
the following:
&H40
[CAPSJ
lock key
&H20
(NUMLOCK]
key
&H08
(ALT)
key
&H04
[CTRLJ
key
&H02 Left key
&H01 Right key
Scan is the scan code for
a
physical key on the keyboard.
See the appendices for a list of scan codes.
Notes:
Trapped keys do not go into the keyboard buffer.
0
Defining
a
function key
or
a cursor-direction key has no
effect.
BASIC
considers them pre-defined.
192

Table of Contents

Other manuals for Tandy 1000

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Tandy 1000 and is the answer not in the manual?

Tandy 1000 Specifications

General IconGeneral
ProcessorIntel 8088
Processor Speed4.77 MHz
RAM128 KB (expandable to 640 KB)
Operating SystemMS-DOS 2.11
ManufacturerTandy Corporation
Release Year1984
StorageSingle or double 5.25" floppy disk drive (360 KB), optional hard drive
SoundTandy 3-voice sound
PortsParallel, Serial
GraphicsCGA (Color Graphics Adapter)
Graphics Modes320x200, 640x200

Related product manuals