Download Print this page

Radio Shack TRS-80 model III Owner's Manual page 94

Mini-disk operation, trsdos disk operating system, disk basic programming language
Hide thumbs Also See for TRS-80 model III:

Advertisement

DISK BASIC
Enhancements
to
Model
m
BASIC
Disk basic adds
many
features
which
are
not
disk-related.
They
are
listed
below
along with abbreviated
descriptions.
Detailed
descriptions
follow
in
alphabetical
order.
&H
&o
Abbreviations
CMD'A"
CMD"B"
CMD"C"
CMD'D"
CMD'E"
CMD"I"
CMD"J"
CMD"L"
CMD'O"
CMD'T"
CMD"R"
CMD"S"
CMD'T"
CMD"X"
CMD"Z"
DEFFN
DEF USR
INSTR
LINE INPUT
MID$
=
NAME
usrh
Hexadecimal-constant
prefix
Octal-constant
prefix
Many
commands
have
abbreviations
Return
to
trsdos
with
error
message
Enable/Disable
fBREAKl
Delete spaces
and remarks from
a
program
(compression)
Display
directory
for specified
drive
Display previous
trsdos
error
Return
a
command
to
trsdos
Convert
calendar
date
Load
z-80
subroutine or
program
file
into
ram
Alphabetizes
(sorts)
a
string
array
only
Check
printer status
Start
real-time
clock
display
Normal
return
to
trsdos (jump
to
exit
routine)
Turn
off real-time
clock display
Cross-reference of reserved words,
string variables,
or
strings
in
a
program
Duplicate output
to
Display and
Printer
Define BASic-statement
function
Define
the entry point for
an
external
machine-language
routine
Instring function; find the substring
in
the target
string
Input a
line
from keyboard
Replace
portion of the
target string
(used
on
left
of equals
sign)
Renumber
a
program
in
ram
Call external routine
(n
=
0,l,2,
.
.
.
,9)
&H
and
&O
(hex
and
octal
constants)
Often
it
is
convenient
to
use
hexadecimal
(base
16) or octal (base
8)
constants
rather
than
their
decimal
counterparts.
For example,
memory
addresses
and
byte
values
are easier
to
manipulate
in
hex
form.
&H
and
&o
let
you
introduce
such
constants
into
your program.
&h
and
&o
are
used
as
prefixes for the
numerals
that
immediately
follow them:
93

Advertisement

loading