About variable.

Dan Shafer revdan at danshafer.com
Thu Mar 31 13:14:37 EST 2005


I think the solution is always to define globals at the script level 
rather than the handler. There are good arguments for avoiding them 
altogether and I'm finding custom properties more flexible and useful 
in many cases where globals used to be my knee-jerk reaction, but one 
need not avoid them altogether.

On Mar 31, 2005, at 9:41 AM, Mark Wieder wrote:

> The whole thing is a
> bit error-prone, if you ask me. I avoid globals whenever I can, but
> sometimes you gotta use them.
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Dan Shafer, Co-Chair
RevConWest '05
June 17-18, 2005, Monterey, California
http://www.altuit.com/webs/altuit/RevConWest



More information about the use-livecode mailing list