02.10.2012 Views

Programmer's Reference Manual Intermec Fingerprint® v8.70.0 ...

Programmer's Reference Manual Intermec Fingerprint® v8.70.0 ...

Programmer's Reference Manual Intermec Fingerprint® v8.70.0 ...

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.

STOP<br />

<strong>Intermec</strong> Fingerprint <strong>v8.70.0</strong>/v10.0.0 Programmer´s <strong>Reference</strong> <strong>Manual</strong><br />

Chapter —Program Instructions<br />

Purpose Statement for terminating execution of a program and to return to immediate<br />

mode.<br />

Syntax STOP<br />

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

to the Debug STDOUT channel (default is "uart1:"):<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 />

immediate 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<br />

using 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 />

Related instructions are CONT and DBSTDIO.<br />

Example 10 A%=100<br />

20 B%=50<br />

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

40 GOTO 30<br />

50 QQQ: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

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

Saved successfully!

Ooh no, something went wrong!