Contents - Index



The CHR$(x) function requires one parameter which must be between 0 and 255.  The function returns a string consisting of one character having an ASCII code as given by x.  


This function is useful for providing characters that cannot be entered on the keyboard or would not be accepted by EES.  Some common uses are:


CHR$(13) {­returns carriage return}

CHR$(39) {­returns a single quote}

CHR$(123) {­returns {­ }


The following charts provide the relation between the code number and the corresponding character.




String Functions