Globals confusion
xbury.cs at clearstream.com
xbury.cs at clearstream.com
Thu Apr 21 02:28:43 EDT 2005
make a little handler in your stack that says
on putGlobal what
do "global" && what
do "put" && what
end putGlobal
That should help.
You can also put the stack "inuse" (via the msg box appropriate section)
so it's always available...
cheers
Xavier
On 21.04.2005 07:26:22 use-revolution-bounces wrote:
>I have a list of globals at the top of my script, which is assigned to
the
>one card in my stack. I want these globals to be available, and defined,
>when a script has run. In other words, if a value has been given to
myVar,
>then I want that value to be given when I type
>
>put myVar
>
>in the message box.
>
>What happens now, is that some of these values are retained, and some are
>not. I can't understand what determines which variables retain their
value.
>
>I am missing something fundamental. Any guidance appreciated.
-----------------------------------------
Visit us at http://www.clearstream.com
IMPORTANT MESSAGE Internet communications are not secure and therefore
Clearstream International does not accept legal responsibility for the
contents of this message. The information contained in this e-mail is
confidential and may be legally privileged. It is intended solely for the
addressee. If you are not the intended recipient, any disclosure, copying,
distribution or any action taken or omitted to be taken in reliance on it,
is prohibited and may be unlawful. Any views expressed in this e-mail are
those of the individual sender, except where the sender specifically states
them to be the views of Clearstream International or of any of its
affiliates or subsidiaries. END OF DISCLAIMER
More information about the use-livecode
mailing list