Asc()


Convert a character to its ASCII value.

Syntax

ASC(<cExp>) --> nCode

Arguments

<cExp> --> is the character expression to convert to a number.

Returns

ASC() returns an integer numeric value in the range of zero to 255, representing the ASCII value of <cExp>.

Description

ASC() is a character conversion function that returns the ASCII value of the leftmost character in a character string. CHR() and ASC() are inverse functions.

____________________________

Related Topics:

Business Function List



CAPITAL VISUAL BUILDER