September 2017 Update
This commit is contained in:
parent
bba7bfd280
commit
ba8067c3b7
14570 changed files with 153136 additions and 63871 deletions
|
|
@ -0,0 +1,23 @@
|
|||
DEF Win:WINDOW
|
||||
DEF Close:CHAR
|
||||
DEF ScreenSizeX,ScreenSizeY:UINT
|
||||
|
||||
GETSCREENSIZE(ScreenSizeX,ScreenSizeY)
|
||||
|
||||
OPENWINDOW Win,0,0,ScreenSizeX,ScreenSizeY,NULL,NULL,"Goodbye program",&MainHandler
|
||||
|
||||
PRINT Win,"Goodbye, World!"
|
||||
'Prints in upper left corner of the window (position 0,0).
|
||||
|
||||
WAITUNTIL Close=1
|
||||
|
||||
CLOSEWINDOW Win
|
||||
|
||||
END
|
||||
|
||||
SUB MainHandler
|
||||
|
||||
IF @MESSAGE=@IDCLOSEWINDOW THEN Close=1
|
||||
|
||||
RETURN
|
||||
ENDSUB
|
||||
Loading…
Add table
Add a link
Reference in a new issue