asc()

文字列から最初の文字のアスキーコードを戻す。文字列がカラの場合にはゼロを戻す。

書式:
variable = asc( string )

例:
' set n to 65
n = asc("A")

参照:chr$()