ASC

Top  Previous  Next

Syntax

INT = ASC(str as STRING)

Description

Returns the ASCII value of the first character in the input string.

Parameters

str - A string parameter. Only the first character is converted

Return value

The ASCII value of the character

Remarks

See Also: CHR$

Example usage

PRINT ASC("A")