cross-stack globals, also, file inclusion

Scott Rossi scott at
Thu Oct 23 10:27:28 EDT 2003

On 10/23/03 7:05 AM, "Rob Cozens" <rcozens at> wrote:

> 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 pi?
> Would you "get the piConstant of stack constantLibrary" or "get line
> piConstantLine of the constantList of stack constantLibrary" (with
> piConstantLine being another constant)?

Sure - this is simple.  If pi was *not* a constant:

  put pi() into myVar

In the stack or library:

  function pi
    return the piConstant of me
  end pi


Scott Rossi
Creative Director
Tactile Media, Multimedia & Design
E: scott at

More information about the Use-livecode mailing list