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.

RENUM<br />

Chapter 2 Program Instructions<br />

Field of Application Statement for renumbering the lines of the program currently residing<br />

in the printer's working memory.<br />

Syntax RENUM[][,[][,]]<br />

1 2 3<br />

1<br />

2<br />

is the first line number of the new sequence.<br />

is the line in the current program at which renumbering is to<br />

start.<br />

3 is the desired increment between line numbers in the new<br />

sequence.<br />

Default values: 10, 1, 10<br />

Remarks This statement is useful for providing space for more program lines when<br />

expanding an existing program, and for renumbering programs written<br />

without line numbers, e.g. after being LISTed, LOADed, or MERGEd. Line<br />

references following GOTO statements will be renumbered accordingly.<br />

Use a LIST statement to print the new numbers on the screen.<br />

Example A program may be renumbered like this:<br />

10 FONT "Swiss 721 BT"<br />

20 PRPOS 30,100<br />

30 PRTXT "HELLO"<br />

40 A%=A%+1<br />

50 PRINTFEED<br />

60 IF A%

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

Saved successfully!

Ooh no, something went wrong!