Introduction
This part of the manual is about the BASIC language. BASIC for
TRSDOS Version 6
is
an
"interpreter." When you run a program, it
executes each statement one at a time. This makes it quick and easy
to use. It also allows you to take advantage of many of TRSDOS
Version 6's features, such as:
• Faster running programs
• Better graphics capabilities
• More print positions
on
the screen
About
this
Manual
This is a reference manual, not a tutorial. We assume you already
know BASIC and are using this manual to quickly find the information
you need.
Section
III
- Operations. This section shows how to load BASIC.
It
also demonstrates how to write, run and save a BASIC
program on disk.
Section IV - The BASIC Language. This section includes a
definition for each of BASIC's keywords (statements and
functions)
in
alphabetical order.
In
addition, it shows how to write
a program to store data on disk.
IMPORTANT NOTE:
If
you have read "Getting Started with TRS-80
BASIC", you need to know the differences between TRSDOS Version
1 and TRSDOS Version 6 BASIC. Appendix E shows these
differences. These differences will often prevent a BASIC program
written for TRSDOS Version 1 from running under TRSDOS Version
6,
unless the program is modified. You also need to know how to use
"disk files." This is explained
in
Chapter
5.
Notations
CAPITALS
italics
. . . (ellipsis)
X'NNNN'
O'NNNNN'
(KEYNAMEl
material which must be entered exactly as it
appears.
words, letters, characters or values you must
supply from a set of acceptable entries.
items preceding the ellipsis may be repeated.
NNNN
is
a hexadecimal number.
NNNNN
is
an
octal number.
one of the keys from your keyboard.
2-3