GUI_WINDOW(X,Y,W,H,TITLE$,[QUIT],[SCALE],[DRAG],[MIN],[BACK])

X,Y = Window Screen Position -1,-1 will center the Window
W,H
= Window Width/Height
TITLE$
= Window Title
[QUIT]
= 0/1 Quit Button Active
[SCALE]
= 0/1 Window Scaleable
[DRAG]
= 0/1 Window Draggable
[MIN]
= 0/1 Minimise Button Active
[BACK]
= 0/1 Window to Back Button Active

Initialises a new Window and returns the Window ID Number which is used to keep track of this Window.

Example:

mywin.WINDOW=GUI_WINDOW(-1,-1,100,100,"A Window")