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 #333 background imageLoading...
Page #333 background image
Chawter
10
I
BASIC
Kevwords
TIME R/Trap
Statement
TIMER
action
Turns on, turns
off,
or
temporarily halts timer event trapping.
Action
may be any
of
the following:
ON
enables timer event trapping.
OFF
disables timer event trapping.
STOP
The TIMER
ON
statement turns on the trap. BASIC checks the
the value
of
timer after each program line. If the number is
equal to that in the
ON
TIMERO GOSUB statement, BASIC
transfers program control
to
the line number specified.
The TIMER STOP statement temporarily halts timer trapping.
If the timer equals the specified number, BASIC does not trans-
fer program control to the
ON
TIMERO GOSUB statement until
you turn on trapping again by executing a TIMER
ON
state-
ment. BASIC remembers that the timer value was equal and
branches
to
the subroutine immediately after trapping is turned
on again.
The TIMER
OFF
statement turns
off
timer trapping. BASIC
does not remember if the value
of
timer equals the number spec-
ified when trapping is turned on again.
temporarily suspends timer event trapping.
Sample Program
See
ON
TIMERO GOSUB
for
an example.
331

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