17.08.2013 Views

Contents, cont'd. - Intermec

Contents, cont'd. - Intermec

Contents, cont'd. - Intermec

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.

ASC<br />

Chapter 2 Program Instructions<br />

Field of Application 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<br />

the first character will be returned.<br />

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

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

<strong>Intermec</strong> Fingerprint 7.2 – Reference Manual Ed. 3 16

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

Saved successfully!

Ooh no, something went wrong!