From my experience, some identifiers require that you include the -a switch to be evaluated properly with the echo command via the edit box. For $asc() identifier, it needs -a, otherwise you'll get an error. For $chr(), though, it doesn't. There has to be a good explanation for this matter, but I'm not certain.