LOTUSSCRIPT LANGUAGE
Returns the locale-sensitive ASCII character code for the first character in a string.
Syntax
Asc ( stringExpr )
Elements
stringExpr
Asc returns the locale-sensitive ASCII character code of the first character in stringExpr. If LotusScript is running on a native ASCII platform, the code represents the character value in the platform's native character set. If LotusScript is running on a native EBCDIC platform, the character is converted to its ASCII equivalent for the platform's current locale and that code is returned.
The data type of the return value is Long.
If the value of stringExpr is NULL or the empty string (""), the function raises an error.
Example See Also