Weird problem restoring data

BlitzPlus Forums/BlitzPlus Programming/Weird problem restoring data

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 everybody

In my code I have two labels, we can call them .Label1 and .Label2. After each label is a data statement. I first use restore label1, then read a bunch of data. Then I restore label2 and restore another bunch. The problem is I always get the data from the FIRST data statement. So I get the data from label1 both times. If I swap label1 and label2 I get the data from label2 both times. I just can't figure out what the heck this is?! Any ideas?

Happy holidays!
--
Martin Gunnarsson