Function Redraw

Redraw()
Usually redrawing is done behind the scene and you should not worry about it. But if you need to redraw everything in the middle of your program or event, just call this function. Example:
for i=1 to 10
	DrawRectangle(100 * i, 100, 100 * i + 50, 10)
	Redraw()
	Sleep(1000)	
next