FPTR myproc_t=(PROC)
FPTR myfunc_t=(FUNC$ i%)
DIM screeninit\myproc_t[0]
DIM bname\myfunc_t[0]
PROC drawscreen
IF INT(screeninit)<>0 THEN
CALL screeninit
ENDIF
TEXTBOX CALL$(bname RND(2)),10,30,149,40,0
ENDP
FUNC name$ n
RETURN "Nr. "+STRING(n)
PROC init
CLS 2
BOX 0,0,159,159
ENDP
screeninit=PROC(init)
bname=FUNC(name$)
drawscreen |