Hi Roger,
Here's a little sub I used to save an updatable text file for a little testing app I did a while back. Very simple and fixed data set. Hope it helps.
Sub HistBuild
Dim HistSTG As String
Dim HStart As Int = 0
Dim HEnd As Int = 17
HistStage = File.ReadString(File.DirInternal, "H1.txt")
HistSTG = HistStage
For X = 0 To 28
HistSTG = HistStage.SubString2(HStart,HEnd)
History01(X,0) = HistSTG.SubString2(0,2)
History01(X,1) = HistSTG.SubString2(2,5)
History01(X,2) = HistSTG.SubString2(5,9) 'Times Answered
History01(X,3) = HistSTG.SubString2(9,13) 'Times Correct
History01(X,4) = HistSTG.SubString2(13,17) 'Times Wrong
HStart = HStart + 18
HEnd = HEnd + 18
Next
End Sub