|
Vitae Enchanter
Joined: 17 Jun 2005 Posts: 673 Location: New York
|
Posted: Mon Nov 07, 2005 6:09 pm
#looping nested #vars *solved* |
Trying to create variables from the myranks var into the RollCall folder
#LOOP 1,%numwords( @myranks, "|") {#VARIABLE %word( @myranks, %i, "|") {} "RollCall"}
All this does is put them in the main folder.
What am i missing?
EDIT:
Well, needed to add the extra {}
#LOOP 1,%numwords( @myranks, "|") {#VARIABLE %word( @myranks, %i, "|") {} {} RollCall} |
|
|
|
nexela Wizard
Joined: 15 Jan 2002 Posts: 1644 Location: USA
|
Posted: Wed Nov 09, 2005 1:23 am |
Vitae Your loop would be the same as this, but easier to read
#FORALL @myranks {#VAR %i {} _nodef "RollCall"} |
|
|
|
Vitae Enchanter
Joined: 17 Jun 2005 Posts: 673 Location: New York
|
Posted: Wed Nov 09, 2005 1:52 pm |
hrmmm...I'm SURE i tried it that way and it didn't work...*mutter*
thanks :-) |
|
|
|
|
|