
File I/O on NXT. Creation of files to read...
I need to read an external ascii file that defines the parameters for a competition. The plan is to create 3 or 4 'master' files that can be read by the NXT. I would like to first process the file on a windows pc and get the 'master' files on the NXT so the program can read the details and process accordingly. I could do all of the processing on the NXT but would rather not.
How do I create a simple file with a format like 1, "NAME", 32, True where this file may have 10 or 20 entries?
Reading the files on the NXT is my issue. ReadByte is character by character. ReadShort and Long provide odd results. Maybe the file should not be comma delimited. Maybe no quotes. I've tried many different approaches but have yet to find a solution.