Asc (string$)  

Definition:

Returns the ASCII value of the first letter of a string.

Parameter Description:


string$ = any valid string variable (only the first character's ASCII value will be returned).

Command Description:

This will return the ASCII value of the first letter of a string.

Example:

a$=Input$("Enter a letter:")
Print "The ASCII value of the letter is:" + Asc(a$)

Index