Radio Shack TRS-80 Trsdos & Disk Basic Reference Manual page 162

Micro computer system
Hide thumbs Also See for TRS-80:
Table of Contents

Advertisement

DISK BASIC
Overlapping
Fields
Suppose
you want
to access
a
field
in
two ways
in total
and
in
part.
Then you
can
assign
two
field
names
to the
same
area
of
the
buffer.
For
example,
if
the
first
two
digits
of
a
six-digit
stock-number
specify
a category,
you
might
use the following
field
structure:
FIELD
1,6
AS STOCKS,
FIELD
1,2
ASCTGS,
Now
STOCKS
will
reference the
entire
stock-number
field,
while
CTGS
will
reference
only the
first
two
digits
of the
number.
7-76

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents