Re: Local / lazy referencing

"Brian Alliet" <[email protected]> Wed, 8 Oct 2003 11:37:29 -0400 (EDT)
Newsgroups gmane.comp.java.xwt.widgets
Message-ID <[email protected]>
Charles Goodwin said:
> I mean... for sanities sake, we have to be able to do the following:
>
> thisbox.foo;
> thisbox.bar = 5;
>
> foo = bar * 2;

Nope, you can't. You have to use thisbox.foo = thisbox.bar * 2. You can
just type "width", "height", and any other special box property though.

I don't really agree with this either. I'd rather be able to do foo = bar
* 2. My original declare before use patches allowed this but requiring
thisbox.foo simplifies the code in the core a bit.

-Brian