At 06:50 2/9/2001, Tom wrote:
>Anybody any idea how to read a tab-delimited external file into a list while
>each line has to be a list.
>So the number of lines depends on the number of lines.

It's not at all clear to me what the challenge is here, but you can use 
fileIO to read the file. Each line in a tab-delimited file is its own line, 
so it would be easy enough to place them on a separate line in a field or 
text member.

To create a list, you might want to look into setting the itemDelimiter to 
the tab char

the itemDelimiter = numToChar(09)

Then repeat for the number of lines in the file, repeat for the number of 
items on the current line & append the item to a list.

Does that help?


--
Mark A. Boyd
Keep-On-Learnin' :)


[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]

Reply via email to