You can do this with the "licensed" function, which returns true if
the stack is running under a licensed Home stack. If you need to
distinguish the case where the stack is run under an unlicensed Home
stack, you could combine a call to licensed with something like:
if there is a stack "Home" then whatever
In 2.1, there is also an "environment" function that will tell you
whether the stack is running in the development environment, as a
standalone run-time, as a run-time started up as a helper application
from a WWW browser, or as a plug-in.
Regards,
Scott
> --
> Phil Davis pdavis@wv.mentorg.com
> Information Synthesis, Inc. (503) 685-0306
> 8105 SW Boeckman Rd. (503) 685-0300
> Wilsonville, OR 97070 (503) 685-0303 fax
> USA
>
> -------> opinions expressed here are my own <-------
>
-- *************************************************************** Scott Raney raney@metacard.com http://www.metacard.com Tcl and ksh: syntactic gymnastics MetaCard: it does what you think