THISFORM.TEXT1.Value= " "+SUBSTR(cName,i,1) + CHR(13)NB! It's a good habit to never use a chr(13) alone, I suggest that you always use chr(13)+chr(10). A chr(13) alone will work fine on a screen, but if you add a chr(13) alone in a file, some editors will show the line before the chr(13) and the line after, on top of each other. Chr(10) will add a line feed, which is what you really want.
>cName = "H E L L O" >FOR i=1 to Len(cName) > ? " ",SUBSTR(cName,i,1) + CHR(13) > **THISFORM.TEXT1.Value= " ",SUBSTR(cName,i,1) + CHR(13)&&syntax error >ENDFOR >>thanks