At 14:39 -0500 04/10/2002, [EMAIL PROTECTED] wrote:
>so I've got 2 prop lists; I'd like to append one to the other witout
>having to do the 1 to count of the second....there's no other way, right?
How about this:
on ConcatLists list1, list2
sList1 = string ( list1 )
delete char 1 of sList1
delete the last char of sList1
sList2 = string (list2 )
delete char 1 of sList2
delete the last char of sList2
sMonsterList = "[" && sList1 & "," && sList2 && "]"
lConcatList = value ( sMonsterList )
return lConcatList
END ConcatLists
-- Welcome to Director --
put concatlists ( [#foo:"bar"], [#bil:"bo"])
-- [#foo: "bar", #bil: "bo"]
--
There is *nothing* like effing around with lsits-as-strings. ;)
--
Warren Ockrassa | http://www.nightwares.com/
Director help | Free files | Sample chapters | Freelance | Consulting
Author | Director 8.5 Shockwave Studio: A Beginner's Guide
Published by Osborne/McGraw-Hill
http://www.osborne.com/indexes/beginners_guides.shtml
[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/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!]