DISPLAY-OF
The DISPLAY-OF function returns a character string containing the alphanumeric character representation of a national character string.
Syntax 1
function display-of (arg-1, [arg-2])
Syntax 2
$display-of (arg-1, [arg-2])
Arguments
arg-1 must be a national data item or literal.
arg-2 must be an alphanumeric data item or literal, one character in length.
Result
The function returns a character string with each national character of arg-1 converted to its corresponding alphanumeric character representation. For those characters in arg-1 that have no corresponding alphanumeric character representation, arg-2 is used; if arg-2 was omitted, then ‘?’ is used.
Examples
Example - Display the current character representation of the EURO sign expressed as national.
display function display-of(nx"00E2").