Graphic problem

BlitzPlus Forums/BlitzPlus Beginners Area/Graphic problem

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.

; Line example 
Graphics 800,600,16 
; Wait for ESC to hit 
While Not KeyHit(1) 
cls ; <-- you forgot this
; Set a random color 
Color Rnd(255),Rnd(255),Rnd(255) 
; Draw a random line 
Line Rnd(800),Rnd(600),Rnd(800),Rnd(600) 
Flip ; <-- and this
Wend