17.08.2013 Views

Contents, cont'd. - Intermec

Contents, cont'd. - Intermec

Contents, cont'd. - Intermec

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

STOP<br />

Chapter 2 Program Instructions<br />

Field of Application Statement for terminating execution of a program and to return to<br />

immediate mode.<br />

Syntax STOP<br />

Remarks When a STOP statement is encountered, the following message is returned<br />

to the host:<br />

“Break in line ”.<br />

You can resume execution where it was stopped by means of a CONT<br />

statement or at a specified program line using a GOTO statement in the<br />

immedaite mode.<br />

STOP is usually used in conjunction with CONT 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 />

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 215

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

Saved successfully!

Ooh no, something went wrong!