-
chr() and asc()
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);
}
-
These functions work for me
-
Thanks for these functions :)
I was getting really fed up of trying to work out how to replace chr()
Cheers,
Morgan.
-
Don't even know what those did in the first place...