cross-stack globals, also, file inclusion
Richard Gaskin
ambassador at fourthworld.com
Thu Oct 23 10:13:29 EDT 2003
Rob Cozens wrote:
>> I'm afraid I don't see any need for global
>> constants when we've got custom properties that can do essentially the
>> same thing.
>
> Hi Jacque,
>
> Do you really see custom properties as the preferred means of
> declaring constants? Suppose pi was not a built-in constant. Would
> you "get the piConstant of this stack" for every stack that used
I would use an accessor function, separating code from data:
function myPi
return the uPi of stack "resources"
end myPi
--
Richard Gaskin
Fourth World Media Corporation
Developer of WebMerge: Publish any database on any Web site
___________________________________________________________
Ambassador at FourthWorld.com http://www.FourthWorld.com
Tel: 323-225-3717 AIM: FourthWorldInc
More information about the use-livecode
mailing list