Programming instructions
Intermec Fingerprint v7.61 – Programmer’s Reference Manual Ed. 7  17
Chapter 2 Program Instructions
ASC
Field of Application
 Function returning the decimal  ASCII value of the fi rst  character 
in a string expression.
Syntax ASC(<sexp>)
<sexp> is a string expression, from which the ASCII decimal value of 
the fi rst character will be returned.
Remarks
 ASC is the inverse function of CHR$. The decimal ASCII value will be given 
according to the selected character set (see NASC statement).
Examples
  10   A$="GOOD MORNING"
  20   PRINT ASC(A$)
  RUN
  yields:
  71  
  10   B$="123456"
  20   C% = ASC(B$)
  30   PRINT C% 
  RUN
  yields:
  49










