Data statements

BlitzMax Forums/BlitzMax Beginners Area/Data statements

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.

ARRGGHH!! I can't seem to figure out how to use labels.
What am I doing wrong?

Strict

Global arse:Int [3]

For Local plop:Int=0 To 2
	arse[plop] = ReadData Moo
Next 

#Moo

DefData 4
DefData 6
DefData 11

Repeat

Cls

DrawText arse[0],0,0
DrawText arse[1],0,15
DrawText arse[2],0,30
Flip
FlushMem

Until KeyHit(KEY_ESCAPE)

End


Ta! :)