Programming instructions

Intermec Fingerprint v7.61 Programmers Reference Manual Ed. 7154
Chapter 2 Program Instructions
LIST
Field of Application
Statement for listing the current program completely or partially, or
listing all variables, to the standard OUT channel.
Syntax LIST[[<ncon
1
>[<ncont
2
>]] | ,V | ,B]
<ncon
1
> is a single line, or the rst line number in a range of lines.
<ncon
2
> is optionally the last line number in a range of lines.
,V lists all variables.
,B lists all breakpoints.
Remarks
This instruction is useful after LOADing a program, or if you during
programming have changed any program lines, renumbered the lines, or
added new lines and want to bring some order in the presentation on the
screen of the host. LIST also removes unnecessary characters and adds
assumed keywords. The instruction is usually given in the immediate mode,
that is on a line without any preceding line number.
The LIST statement can be used in seven different ways:
If no line number is entered after LIST, the entire current program will
be listed. In case the program has been written without line numbers
(see IMMEDIATE ON/OFF statements), the lines will be automatically
numbered with 10-step incrementation starting with line number 10
(10-20-30-40-50....).
If a single line number is entered after LIST, only the speci ed
line will be listed.
If a line number followed by a hyphen (-) is entered after LIST, all lines
from the speci ed line to the end of the program will be listed.
If a hyphen (-) followed by line number is entered after LIST, all lines from
the start of the program through the speci ed line will be listed.
If two line numbers are entered after LIST, they will specify the rst and
last line in a range of lines to be listed.
If LIST,V is entered, all integer variables, integer array variables,
string variables, and string array variables in the printers memory
will be listed.
If LIST,B is entered, all breakpoints of the Fingerprint Debugger
(see DBBREAK) will be printed in line number order. Line labels
that have not been updated, which occurs at program execution,
may be misplaced.
Examples
LIST Lists all lines in the program.
LIST 100 Lists line No. 100 only.
LIST 100 Lists all lines from line No 100
to the end of the program.
LIST 500 Lists all lines from the start of
the program through line No. 500.
LIST 100500 Lists all lines from line 100
through line 500.
LIST,V Lists all variables.
LIST,B Lists all breakpoints.