Asc(
     string:string
)
int

Arguments

string

Input string.

Return value

Code value of the first character of string.

Description

Returns the ANSI or Unicode code for the first character of string.

Example:

Output( Asc("Hello") );
--> 72

See also: Chr