On 2006-08-16, at 11:34 PDT, Philip Romanik wrote:

> Hi Tucker,
>
> Max found a problem when I checked in some new class changes. I  
> tracked the problem to a variable defined in LzNode, whose value is  
> reassigned in LzState.
>
> In LzView:
>         var $isstate = false;
>
> My original code for LzState had this:
>         $isstate = true;

This should have worked, I'm not sure why it didn't.

> This does not work. To get around the problem I changed this line to,
>         prototype.$isstate = true;

But this is fine and perhaps more transparent as to what you are doing.

> What is the "preferred" method to alter the value of $isstate?

So lets stick with the proto going forward.  Eventually we may want  
to have something like:

   var override $isstate = true;

:)
_______________________________________________
Laszlo-dev mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-dev

Reply via email to