ArcBasicDocs

Asc

Character code of the first character.

Asc ( string$ )

Parameters

string$
the text.

Description

Gives back the code of the first character of a string: Asc("A") is 65, or 0 for an empty string. Letters and digits run in order, so Asc(c$) - Asc("0") turns a digit into its value.

See also