Coerces an expression into a string value.
Examples |
 |
$nmdebug > = ascc(%100+%1)
'A'
$nmdebug > wl strlen (ascc(%100+%1))
$2
The expression %100+%1 is evaluated and coerced into a string value.
Since the parameter type is effectively U16, the string contains two characters, a NULL (0)
followed by a capital "A".
$nmdebug > var bell strdel(ascc(7),1,1)
$nmdebug > wl bell
<beep>
This example builds a single-character string and assigns
the result to the variable named bell. The STRDEL function is used to delete the leading NULL character,
which is returned in the two-character string returned by the function ASCC.