<[EMAIL PROTECTED]> wrote:
> I am pulling one random line out of a text file, and each line has a
> different number of words. I want to break the line into words by
> assigning each word to a different variable. I have that part
> working fine, except, if I have 2 lines, one with 2 words and one
> with 5, I have had to create 5 variables and then 3-5 would be null.
> I wondered if there was a dynamic way to create variables.
Well, there is, using the "DO" command. But it's generally not recommended
for various reasons (speed & RAM being most cited).
Have you considered using a List? I'd recommend that route.
--scott
[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!]