CHR( ) Function Example

The following example displays the numbers 65 through 75 and uses CHR( ) to display their corresponding character values A through K.

CLEAR
FOR nCOUNT = 65 TO 75
   ? nCount && Display numeric value 
   ?? ' ' + CHR(nCount) && Display character
ENDFOR