restoredata.bmx 292 B

1234567891011
  1. ' restoredata.bmx
  2. For i=1 To 5
  3. RestoreData mydata 'reset the data pointer everly loop so we don't read past the end
  4. ReadData name$,age,skill
  5. Print "name="+name+" age="+age+" skill="+skill
  6. Next
  7. #mydata 'program label that can be used with the RestoreData command
  8. DefData "Simon",37,5000