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.

CONT<br />

Chapter 2 Program Instructions<br />

Field of Application Statement for resuming execution of a program that has been interrupted<br />

by means of a STOP or BREAK statement.<br />

Syntax CONT<br />

Remarks The CONT statement may be used to resume program execution after a<br />

STOP or BREAK statement has been executed. Execution continues at the<br />

point where the break happened.<br />

CONT is usually used in conjunction with STOP for debugging. When<br />

execution is stopped, you can examine or change the values of variables using<br />

direct mode statements. You may then use CONT to resume execution.<br />

CONT is invalid if the program has been editied during the break.<br />

It is also possible to resume execution at a specified program line using a<br />

GOTO statement in the immediate mode.<br />

Example 10 A%=100<br />

20 B%=50<br />

30 IF A%=B% THE GOTO QQQ ELSE STOP<br />

40 GOTO 30<br />

50 PRINT "Equal"<br />

Ok<br />

RUN<br />

Break in line 30<br />

Ok<br />

PRINT A%<br />

100<br />

Ok<br />

PRINT B%<br />

50<br />

Ok<br />

B%=100<br />

OK<br />

CONT<br />

Equal<br />

Ok<br />

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

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

Saved successfully!

Ooh no, something went wrong!