ascii() Function

The ascii() function converts a string of EBCDIC-encoded characters into their equivalent ASCII values.

Syntax

ascii(exp)

Parameter(s)

exp

String of EBCDIC-encoded characters to convert.

Description

The ascii() function is the inverse of the ebcdic() function.

NOTE

The ascii() function cannot determine whether the string being passed to it is already ASCII or not. Passing an ASCII string through the ascii() function produces undefined results.

See Also

ASCII

ASCII Character Set

ebcdic() Function

BASIC Functions

Statements and Functions