Good job!
I made a dynamic version which loads the array irrespective of the size of "word.lst". Here is the change of code required.
` Replace the WORDS and USED arrays with this code:
counter = 0 : xhalf = SCREEN WIDTH()/2 : yhalf = SCREEN HEIGHT()/2 : SET TEXT OPAQUE
OPEN TO READ 1,"word.lst"
REPEAT
READ STRING 1,temp$ : INC counter
CENTER TEXT xhalf,yhalf," Loading : " + STR$(counter) + " " : SYNC
UNTIL FILE END(1)
CLOSE FILE 1
` Two DECs are required, one due to EOF, one due to arrays starting at 0
DEC counter : DEC counter
DIM words(counter) AS STRING
DIM used (counter) AS STRING
I also noticed you used the matrix DLLs for FAST string manipulation. You probably should mention that in your post or docs or code, just for newbies (like me!) who aren't as familiar with the DLL scene as experienced DBPro coders.
Again, congratulations, and Happy Christmas!