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.

PRINT (?)<br />

Purpose Statement for printing data to the standard OUT channel.<br />

Chapter —Program Instructions<br />

Syntax PRINT|?[[...][;]]<br />

are string or numeric expressions, which will be printed to the<br />

standard OUT channel.<br />

Remarks If no expressions are specified after the PRINT statement, it will yield a<br />

blank line. If one or more expressions are listed, the expression(s) will be<br />

processed and the resulting values will be presented on standard OUT<br />

channel (see SETSTDIO statement), for example usually on the screen of<br />

the host. The shorthand form of PRINT is a question mark.<br />

Do not confuse the PRINT statement with the PRINTFEED statement.<br />

Each line is divided into zones of 10 character positions each. These zones<br />

can be used for positioning the values:<br />

• A comma sign (,) between the expressions causes next value to be printed<br />

at the beginning of next zone.<br />

• A semicolon sign (;) between the expressions causes next value to be<br />

printed immediately after the last value.<br />

• A plus sign (+) between two string expressions also causes next value to<br />

be printed immediately after the last value. (Plus signs cannot be used<br />

between numeric expressions.)<br />

• If the list of expressions is terminated by a semicolon, the next PRINT<br />

statement will be added on the same line. Otherwise, a carriage return<br />

is performed at the end of the line. If the printed line is wider than the<br />

screen, the software will automatically wrap to a new line and go on<br />

printing.<br />

Printed numbers are always followed by a space character.<br />

Printed negative numbers are preceded by a minus sign.<br />

Example 10 LET X%=10<br />

20 LET A$="A"<br />

30 PRINT X%;X%+1,X%+5;X%-25<br />

40 PRINT A$+A$;A$,A$<br />

50 PRINT X%;<br />

60 ? "PIECES"<br />

RUN<br />

10 11 15 -15<br />

AAA A<br />

10 PIECES<br />

yields:<br />

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

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

Saved successfully!

Ooh no, something went wrong!