I forgot that, SMILE BASIC can access string like array of character. A$[I] is same as MID$(A$,I,1) Here is shorter version. BGPUT L,X+I,Y,ASC(A$[I])