176
If the listing of a statement exceeds the maximum allowed length of a record for a
given file (e.g., 80 for terminals), the statement will be broken into multiple segments
(records/lines). The first n characters (where n is the maximum segment length) will
be contained in the first segment with each subsequent n characters up to the end of
the statement sent in subsequent segments. Each continuation segment will be
prefixed by the line number followed by a colon ":" and a space.
Note: If a semicolon (;) is used as the first character of a line, ProvideX will hide the
line from listings making it appear as if it did not exist. The line will execute correctly,
but it cannot be viewed via the LIST directive.
Coloured Syntax Displays
If the 'CS' system parameter is on, your listing will be displayed with a different
colour for each syntax element. For more information, refer to the 'CS' System
called COLOUR (or COLOR) that can be used to display or alter the current settings.
Type COLOUR or COLOR at a ProvideX prompt to display online help for this utility.
Highlighted Search Strings
If search has been implemented for the currently-loaded program, and the 'LM'
parameter is on, the system will automatically highlight the search string when the
program is listed. For a description of the search utility syntax, refer to
Examples
Given a file with twenty character records,
0020 PRINT "The quick brown fox licked the dog"
becomes
0020 PRINT "The quic
0020: k brown fox li
0020: cked the dog"
LIST Directive
Result:
Lists line 0030
LIST 30
Also lists line 0030
/ 30
Lists lines 0030 to 0100
LIST 30,100
Lists lines from 0030 to the end of the program
LIST 30,
Lists lines up to and including the statement with label WRAP_UP
LIST,WRAP_UP
Lists entire program
LIST
Lists entire program to logical file #(1), which can be a
LIST (1)
file/device (e.g., a printer).