Is this a bug?

BlitzPlus Forums/BlitzPlus Beginners Area/Is this a bug?

Is this a good set-up for a program?
;G.U.I stuff
bank=CreateBank(24)
PokeInt bank,0,window=CreateWindow("PINTO",300,300,500,500,main,15)
PokeInt bank,4,canvas=CreateCanvas(0,0,400,400,main)
PokeInt bank,8,changecolor=CreateButton("Color",100,400,75,75,main,1)
PokeInt bank,12,rectangle=CreateButton("Rect",200,400,75,75,main,1)
PokeInt bank,16,rectsize=CreateButton("Rect size",300,400,75,75,main,1)
PokeInt bank,20,freehand=CreateButton("Freehand",400,400,75,75,main,1)
;Variables
FREE_HAND=1
RECT_DRAW=2
OVAL_DRAW=3
Repeat 
	;Function for handling events and such
	HandleGUI()
	;Function for handling help menus
	HandleMenu()
	;Function for handling colors
	ReceiveColor()
	;This function is for painting 
	Pinto()
	;This function is for modifying canvas width, and height
	ModifyCanvas(canvas)
	;Function for saving and loading
	SaveLoad()
Forever