|
DIM text$(max%) index% = 0 file% = OPENIN(@dir$+"spanish.txt") IF file% = 0 ERROR 100, "Couldn't open spanish.txt" REPEAT INPUT #file%, text$ IF ASC(text$) = 10 text$ = MID$(text$,2) index% += 1 text$(index%) = text$ UNTIL EOF#file% OR index% = max% CLOSE #file% total% = index%
|
|