theninjamanz 29 Posted April 19, 2012 Report Share Posted April 19, 2012 round and round it's going and I can't work it out. I have 2 lists. here's one abcdefg here's the other hijklmnop I want to create a text file that has the following (combines both the above in a CSV) a,hb,ic,jd,ke,l Can someone help me. I am tring to add both these lists to a table in columns 0 and 1, but I just get one pasted after the other! Quote Link to post Share on other sites
keiooz 1 Posted April 19, 2012 Report Share Posted April 19, 2012 What about the m-p list? Are you going to add it as well?http://imagicon.info/cat/5-34/vbulletin-eek.gif Quote Link to post Share on other sites
JohnB 255 Posted April 19, 2012 Report Share Posted April 19, 2012 Try this: clear list(%one)clear list(%two)clear list(%three)set(#one, "abcdefg", "Global")set(#two, "hijklmn", "Global")add list to list(%one, $list from text(#one, $new line), "Delete", "Global")add list to list(%two, $list from text(#two, $new line), "Delete", "Global")set(#position, 0, "Global")loop($list total(%one)) { add item to list(%three, "{$list item(%one, #position)}, {$list item(%two, #position)}", "Delete", "Global") increment(#position)} John 1 Quote Link to post Share on other sites
theninjamanz 29 Posted April 20, 2012 Author Report Share Posted April 20, 2012 Worked a treat Jon thanks. Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.