17.08.2013 Views

Contents, cont'd. - Intermec

Contents, cont'd. - Intermec

Contents, cont'd. - Intermec

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

LIST<br />

Chapter 2 Program Instructions<br />

Field of Application Statement for listing the current program completely or partially, or<br />

listing all variables, to the standard OUT channel.<br />

Syntax LIST[[[–]]|,V]<br />

1 2<br />

1<br />

2<br />

,V<br />

is a single line, or the first line number in a range of lines.<br />

is optionally the last line number in a range of lines.<br />

lists all variables.<br />

Remarks This instruction is useful after LOADing a program, or if you during<br />

programming have changed any program lines, renumbered the lines or<br />

added new lines and want to bring some order in the presentation on the screen<br />

of the host. LIST also removes unnecessary characters and adds assumed<br />

keywords. The instruction is usually given in the immediate mode, i.e. on a<br />

line without any preceding line number.<br />

The LIST statement can be used in six different ways:<br />

• If no line number is entered after LIST, the entire current program will be<br />

listed. In case the program has been written without line numbers (see<br />

IMMEDIATE ON/OFF statements), the lines will be automatically<br />

numbered with 10-step incrementation starting with line number10, i.e. 10-<br />

20-30-40-50.....<br />

• If a single line number is entered after LIST, only the specified line will be<br />

listed.<br />

• If a line number followed by a hyphen (-) is entered after LIST, all lines from<br />

the specified line to the end of the program will be listed.<br />

• If a hyphen (-) followed by line number is entered after LIST, all lines from<br />

the start of the program through the specified line will be listed.<br />

• If two line numbers are entered after LIST, they will specify the first and<br />

last line in a range of lines to be listed.<br />

• If LIST,V is entered, all integer variables, integer array variables, string<br />

variables and string array variables in the printer's memory will be listed.<br />

Examples LIST Lists all lines in the program.<br />

LIST 100 Lists line No. 100 only.<br />

LIST 100– Lists all lines from line No 100<br />

to the end of the program.<br />

LIST –500 Lists all lines from the start of the<br />

program through line No. 500.<br />

LIST 100–500 Lists all lines from line 100<br />

through line 500.<br />

LIST,V Lists all variables.<br />

<strong>Intermec</strong> Fingerprint 7.2 – Reference Manual Ed. 3 136

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!