Just looked in the FB Help about using Data statements with in programs.
And am having big problems with using the Restore command to recognize any data labels ( so that it starts at the appropriate data )
'
' Data Example Code.
'
Option Explicit
Option Static
Dim A
Dim Cupboard(14)
Restore Dat1
For A=0 to 14
Read Cupboard(A)
Next
Dat1:
Data -2,-2,0,-1,-2,0,0,-2,0,1,-2,0,2,-2,0
Dat2:
Data 1,2,3,4,5,6,7,8,9,10,11,12,13,14
Any suggestions whats up with Restore and data labels much appreciated.
Cheers,
Clyde.