On 2/10/04 9:52 AM, "Dar Scott" <[EMAIL PROTECTED]> wrote:
>
> On Monday, February 9, 2004, at 05:43 PM, Doug Lerner wrote:
>
>> thisStudent.age + thatStudent.age
>
> thisStudent["age"] + thatStudent["age"]
>
> ...is admittedly 6 characters over yours.
Yes, associative arrays are essentially properties. In JavaScript you could
actually write it either way. Usually the way you wrote it would be used if
the property name itself were a dynamic value.
But what about a similar notation for
set the hilite of button "thisButton" of card "thisCard" of stack
"thatStack" to true
Something like
thatStack.thisCard.button:thisButton.hilite = true
might be convenient...
doug
_______________________________________________
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution