sync on : sync rate 30
a=0
b=0
rem gameloop
do
cls
set cursor 0,0 : print "1/30"

a=a+1
if a=10
set cursor 40,40 : print "a=10" : a=0
endif

b=b+1
if b=40
set cursor 80,80 : print "b=40" : b=0
endif

sync
loop