Newbie needs Help! Flipping!

BlitzPlus Forums/BlitzPlus Beginners Area/Newbie needs Help! Flipping!

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Hey guys.
Just started to mess a little with the BlitzPlus Editor, and I really dig the concept. However, I've got a slight problem with the whole Buffer-Stuff. I want to draw in black color on a white background by clicking the left mouse-button, but instead the screen flips always between black and white with each mouse-click. Anyone care looking at my code and help me fixing it? It's simple, just meant to be a test to grasp the concept of buffering, but am I to program more complex stuff, if I fail even at a "simple" thing like this? ;)
Thanks in advance.

Graphics 800,600
ClsColor 255,255,255
Cls
Flip
Color 0,0,0
While Not KeyHit(1)
button=GetMouse()
If button=1
Plot MouseX(),MouseY()
Flip
EndIf
Wend