Download Print this page

Radio Shack TRS-80 Model II Reference Manual page 81

Disk operating system
Hide thumbs Also See for TRS-80 Model II:

Advertisement

Library Commands
LIST
List Contents of a File
LIST file {PAT, SLOW, A"""record-number }
file
is a file specificaton.
PAT tells
TRSDOS
to list to the Printer. If
PRT
is omitted,
IIIl:l'vV'llllJU
is used.
SLOW tells
TRSDOS
to pause briefly after each record. If omittelcl,
is continuous.
A :record number tells
TRSDOS
the starting record for
number
must be in the range [1,65535]. If omitted,
This routine lists the contents of a file. The listing shows both the hexadecimal
contents and the
ASCII
characters corresponding to each value. For values
outside the range [X'20',X'7F'], a period is displayed.
To stop the listing, press
. Press
or
t=li1::t!3
to terminate the listing.
again to continue. Press
Examples
L.IST DATA/BAS
Lists the contents of
DATA/BAS.
LIST TEXTFILE/l SLOW
Lists the contents OfTEXTFILE/l, pausing after each record.
LIST TEXTFILE/l R=100, A
The listing starts with the lOOth record in TEXTFILE/l. Only
ASCII
characters
are displayed.
LIST PROGRAM/CMD PRT
Lists the file
PROGRAM/CMD
to the Printer.
117

Advertisement

loading