'$INCLUDE:'glinputtop.bi'
wallpaper&
= _NEWIMAGE(640, 528, 32) ' create image to use as background' show background image
helloworld% = GLIINPUT(100, 100, GLIALPHA, "Hello World: ", TRUE)
GLICLEAR
' must be first line in any loop
y% = y% - 1
LOCATE 1, 1:
PRINT "Real time: "; GLIOUTPUT$
(helloworld%
);
" "
GLIUPDATE ' must be the second to last command in any loop
_DISPLAY ' must be the last command in any loop to display results helloworld$ = GLIOUTPUT$(helloworld%)
GLICLOSE helloworld%, TRUE
'$INCLUDE:'glinput.bi'