Chaning Data Values Programmatically

BlitzPlus Forums/BlitzPlus Beginners Area/Chaning Data Values Programmatically

Yes, Data statements, (and Include files) are not intended to be edited. The data from Data is stored in the executable as raw data. I'm not sure if it is compressed or anything, I have never tried to find it there.
You could go for the file commands, but then still, you would need to store the values somehow to be able to edit them.
So I think, you need to use an array:
Dim MyData(18)

;read numbers from data
Restore
For i = 1 to 18

   Read x
   MyData(i) = x

Next

;change 10th number
MyData(10) = 6