; Read Example
; ------------

; Point the Data pointer at the high score table
Restore high_scores

; Read fetches the next Data value each time it is called
Read entries

Print "High score table:"
For i=1 To entries
    ; Each entry mixes types - Read them in the order they were written
    Read name$
    Read score
    Read accuracy#
    Print "    "+name$+" - "+score+" points ("+accuracy#+"% accuracy)"
Next

Print ""
Print "Press any key to close the example"
WaitKey

End

; First the number of entries, then name, score and accuracy for each
.high_scores
Data 3
Data "Ace",12500,91.5
Data "Bax",9800,77.25
Data "Cid",7350,64.0
