File import,read
BlitzPlus Forums/BlitzPlus Programming/File import,read
| ||
Anyone out there have any code to do the following. Import a comma separated text file load the data into fields for easy viewing Possibly even manipulate the data by allowing data to be sorted depending on the entry in a specific field. I have been using B3D for several months now to develop a game but this is a new thing to me so any help would be cool. |
| ||
There are a couple of Tokenizers in the code archives that you could use for the first item. You could do something like this: Type entry Field word End Type w.entry = New entry w\word = Tokenize(s$) ; s$ perhaps from Readline(filehandle) temp.entry = First entry While temp\word > w\word : temp = After temp : Wend Insert w Before temp That should sort all the words alphabetically. |