Is it possible to load a text file into an array?
My feeble attempt at modifying the "readfile" sample did not work.
file=ReadFile("readfile.bmx") If Not file RuntimeError "could not open file openfile.bmx" Global n=0 count=0 stringarray$[] While Not Eof(file) count:+1 stringarray[n] = ReadLine(file) n:+1 Wend CloseStream file For n = 0 To count Print stringarray[n] Next
My feeble attempt at modifying the "readfile" sample did not work.