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

Create successful ePaper yourself

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

INPUT (IP), cont.<br />

Chapter —Program Instructions<br />

Examples This example shows input to one numeric variable and one string variable:<br />

10 INPUT "ADDRESS";A%,B$<br />

20 PRINT A%;" ";B$<br />

30 IF A% > 0 THEN GOTO 50<br />

40 GOTO 10<br />

50 END<br />

RUN<br />

yields:<br />

ADDRESS?<br />

When the prompt “ADDRESS?” appears on the screen, you can type the<br />

input data on the terminal’s keyboard, for example:<br />

999, HILL STREET<br />

Note the separating comma.<br />

If the input text data contains a comma, which shall be printed, you must<br />

enclose the input data with quotation marks ("...."), for example:<br />

999, "HILL STREET, HILLSBOROUGH"<br />

Numeric input data must not include any decimal points.<br />

This example shows how the date can be set directly from the keyboard of<br />

the host:<br />

INPUT "Enter date: ",DATE$<br />

yields:<br />

Enter date:<br />

When the prompt “Enter date:" appears on the screen of the host, you<br />

can type the date as a six-digit combination of year, month and day (see<br />

DATE$ variable). Time can also be set using the same method.<br />

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

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

Saved successfully!

Ooh no, something went wrong!