. Re: cross-stack globals, also, file inclusion

Stephen Quinn Barncard stephenREVOLUTION at barncard.com
Sat Oct 25 13:07:30 EDT 2003


This is the best argument I've seen for global constants. I get it.

sqb

>The major difference I don't think anybody has mentioned is that since the
>value of a constant is known at compile time, it can be inserted directly
>into the resulting object code. So the value has only to be looked up once
>- at compile time - whereas a variable always has to be re-evaluated at
>runtime. A variable that's got from an accessor would seem to be even more
>work because a handler has to be run to determine which variable to look up.
>
>martin


More information about the use-livecode mailing list