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.

Chapter —Program Instructions<br />

ASC<br />

Purpose Function returning the decimal ASCII value of the first character in a<br />

string expression.<br />

Syntax ASC()<br />

is a string expression, from which the ASCII decimal value of the<br />

first character will be returned.<br />

Remarks ASC is the inverse function of CHR$. The decimal ASCII value will be<br />

given according to the selected character set (see NASC statement).<br />

Examples 10 A$="GOOD MORNING"<br />

20 PRINT ASC(A$)<br />

RUN<br />

71<br />

10 B$="123456"<br />

20 C% = ASC(B$)<br />

30 PRINT C%<br />

RUN<br />

49<br />

yields:<br />

yields:<br />

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

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

Saved successfully!

Ooh no, something went wrong!