Normal Topic Converting a text file to an array (Read 321 times)
Blair Wettlaufer
Junior Member
Members
**
Offline


No personal text

Posts: 98
Location: Hamilton, ON
Joined: Jun 4th, 2005
Converting a text file to an array
Jul 26th, 2005 at 3:45pm
Print Post Print Post  
Hi all!

There's an example in Appendix 2 of the Programming Guide for parsing a delimited file as a one-value array.

I want to create two-dimension array [x,y] from a delimited text file, and I'm stumped on two things.

2) How do I import the array?  It can't be as simple as @insert, can it?

1) How do I count the "lines" of the text file, so I can assign that as the second dimension of the array?
  

Coesper erat: tunc lubriciles altravia circum&&Urgebant gyros gimbiculosque tophi:&&Moestenui visae borogovides ire meatu:&&Et profugi gemitus exgrabuere rathae
Back to top
 
IP Logged