Basic question: Variable output to scree

BlitzMax Forums/BlitzMax Beginners Area/Basic question: Variable output to scree

The Forum Archive is locked. These are the original blitzbasic.com forums, kept so their posts can still be read and searched. No new topics, replies or edits can be made here. To join the conversation, head over to the Blitz3D+ forums.

try this:
Graphics 800,600,0 'set gfx mode

Local x=0
SetColor 255,255,255

Repeat
	Cls 'clear the buffer
	x:+1
	DrawText +x,100,100
	Flip 'flip the backbuffer to the front to display what we've drawn
Until x=400 

you were clearing the current buffer after drawing to it and you weren't Flipping it to the front.