Newbie array initializing question.

  • Thread starter Thread starter Keith Rebello
  • Start date Start date
K

Keith Rebello

I have a set of tables that are in text files and I want my application to
have the values in two-dimensional arrays. The last thing I want to do is
have to type A(0,0) = 5.23, A(0,1)=4.56, ....., etc. in code. There must be
something like resource files I can use.

Please point me in the right direction or provide me with some options.
Thanks.
 
* "Keith Rebello said:
I have a set of tables that are in text files and I want my application to
have the values in two-dimensional arrays. The last thing I want to do is
have to type A(0,0) = 5.23, A(0,1)=4.56, ....., etc. in code. There must be
something like resource files I can use.

'System.IO.StreamWriter' + two nested 'For...Next' loops used to
read/fill the array.

Alternatively, you can try to use 'FilePut' and 'FileGet' to make the
array persistent or read it.
 
Back
Top