$FUNCNAME$
  ASC()
$CATEGORY$
  STRING,NUMERIC,KEYBOARD/MOUSE
$SUMMARY$
   Convert a character to its ASCII value
$LANG_RU$
        ASCII.
$SYNTAX$
     ASC(<cExp>) --> nCode
$LANG_RU$
     ASC(< >) -->   ASCII
$ARGUMENTS$
     <cExp> is the character expression to be converted to a number.
$LANG_RU$
     < > -  ,   .
$RETURNS$
     ASC() returns an integer numeric value in the range of zero to 255,
     representing the ASCII value of <cExp>.
$LANG_RU$
     ASC()       0  255, 
       ASCII < >.
$DESCRIPTION$

     ASC() is a character conversion function that returns the ASCII value of the
     leftmost character in a character string.  ASC() is used primarily on
     expressions requiring numeric calculations on the ASCII value of a
     character.  CHR() and ASC() are inverse functions.


$LANG_RU$

     ASC() -    ,  
       ASCII     . ASC()  
       ,     
         ASCII . CHR()  ASC() - 
     ,     .


$EXAMPLES$

       These examples illustrate various results of ASC():

	? ASC("A")                     // Result: 65
	? ASC("Apple")                 // Result: 65
	? ASC("a")                     // Result: 97
	? ASC("Z") - ASC("A")          // Result: 25
	? ASC("")                      // Result: 0


$LANG_RU$

            
       ASC():

       ? ASC("A")             // : 65
       ? ASC("Apple")         // : 65
       ? ASC("a")             // : 97
       ? ASC("Z") - ASC("A")  // : 25
       ? ASC("")              // : 0


$SEEALSO$
  CHR(),INKEY(),STR(),VAL()
$END$
