Returns the ASCII character code corresponding to the first letter in a string.

 

Syntax:

value = ASCII( expression )  

OR

value = Asc( expression ) ' Short Keyword form usage: "Asc".

 

Parameter:

Description:

expression

expression, if it is not a string it will be converted to a string

value

ASCII character code

 

Example:

value = ASCII( "A" )                     ' Returns 65
value = ASCII( "a" )                     ' Returns 97
value = ASCII( "1" )                     ' Returns 49
value = ASC( 1 )                         ' Returns 49

 

Results:

  See above comments.

 

Links:

 

See Also:

Data Groups and Types

 


Edit Time: 9/25/2017 09:09:58 AM


Topic ID#: 41

 

Created with Help & Manual 7 and styled with Premium Pack Version 2.80 © by EC Software