ASC

A function which returns the ASCII value of the first character of the argument string. If the string is empty then -1 will be returned.

ASC is the complement of CHR$.

Syntax

<n-var>=ASC(<str>)

Associated Keywords