Geoff,
How are you storing the data in the file? Can you provide a sample of
the file?
Nicholas,
The idea is to have a series of statements, the left hand side and the
right hand side statements, for each of several situations, eg
var lhs_0 = new Array(8)
lhs_0[0]="situation 1 lhs statement 1";
lhs_0[1]="situation 1 lhs statement 2";
etc
var rhs_0 = new Array(8)
rhs_0[0]="situation 1 rhs statement 1";
rhs_0[1]="situation 1 rhs statement 2";
etc
var lhs_1 = new Array(8)
lhs_1[0]="situation 2 lhs statement 1";
lhs_1[1]="situation 2 lhs statement 2";
etc
var rhs_1 = new Array(8)
rhs_1[0]="situation 2 rhs statement 1";
rhs_1[1]="situation 2 rhs statement 2";
etc
Cheers
Geoff
The first recommendation would be to use the FileStream class to open
the file for reading. Once you have that, you can use the BinaryReader
class to read primary type information from the file (assuming you wrote the
file in a format that the BinaryReader can understand).
Hope this helps.