Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
* CHARS.PRG
SET TALK OFF
CLEAR
?
? "--- 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15"
?
I = 0
FOR I = 0 TO 255
IF MOD(I,16) = 0
? RIGHT(STR(I),3)
ENDIF
?? " " + CHR(I) + " "
NEXT
RETURN
do display_text with "HELLO WORLD"
return
procedure display_text
para p_x,p_y, p_text
if empty(p_text)
return
endif
x_Coordinate = p_x
y_Coordinate = p_y
for ii = 1 to len(p_text)
* Take care of Space and advance x_Coordinate
t_call = 'display_'+subs(p_txt,ii,1)
do &t_call with x_Coordinate, y_Coordinate
endfor
endproc
procedure dispaly_a
* Display Letter A
para p_x2, p_y2
t_Graphics = chr(192)
@ p_x2, p_y2 say t_Graphics
* and so on
endproc
procedure dispaly_b
endproc
* and so on