chr() and asc() are no longer built in, so I made these replacements. They worked before, but aren't now. How should I do these in 4.9.8.7?


global function asc ( String Char ):int
{
return (Char.charCodeAt(0));
}

global function chr (int AsciiNum ):String
{
return String.fromCharCode (AsciiNum);
}