
start:
{main program - e.g. checking inputs, game algorithm etc.}
set pointer to table beginning
label:
get x,y
if x=endmark, goto start
set DACs to x and y
advance pointer
switch z on ("pen down")
get x,y
set 
switch z off ("pen up")
goto label
