Thanks for answering all the questions, Tom. You da man!
I wouldn't have ever guessed that proplist() is the constructor for a
new [:] in js syntax. I would have thought it would be
Mylist = new propList();
or
myObj = {};
I guess there's going to be a lot of trial and error in learning what I
think is some uniqueness in the implementation of js in Director. But,
I'm one day hoping to use one syntax everywhere. Let the laughing
begin.
- MM
Bingo! Valentin hit the nail on the head. You must (a) make a
_property_list_ (not an Array with named entries), and (b) use
symbol(someString) as the # character is not supported within JS scripts
(although the symbol data type is via the symbol() function).
[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!]