Description
This function converts all the characters in an expression from the ASCII character set to the EBCDIC character set. It takes the general form:
EBCDIC(expression)
Where expression may contain a data string of any form. The function will convert it to a character string, assume that the characters are all members of the ASCII set and translate them using a character map.
The original expression is unchanged while the returned result of the function is now the EBCDIC equivalent.
An example of use may be as:
0001 ascii_expression = "?m@?&???" 0002 CRT EBCDIC(ascii_expression)
Go back to jBASE BASIC.