global problems

xbury.cs at clearstream.com xbury.cs at clearstream.com
Mon Aug 1 03:40:31 EDT 2005


have you tried

  global x2
  put 5 into x2
  delete global x2
  get the globalnames
  replace comma with cr in it
  put it

i dont see x2 anymore...

---------------------=---------------------
Xavier Bury
Clearstream Services
TNS NT LAN Server
ext 36465
Voice: +352 4656 43 6465
Fax: +352 4656 493 6465

use-revolution-bounces at lists.runrev.com wrote on 01/08/2005 09:28:27:

> Ken-
> 
> Of course, I managed to poke around a bit and get this to happen. I
> knew there was *something going on*. Here's the real problem - doesn't
> have anything to do with loop indices at all:
> 
> Global variables are persistent in memory, even when they've been
> purged. Once you have declared a global variable, even if you have
> deleted the line of code that declared it, you're stuck with it. You
> can't change it into a local variable and you can't have another local
> variable with the same name, even in a different stack, without
> invoking a compiler error about the local variable name shadowing
> another.
> 
> BZ #3038
> 
> -- 
> -Mark Wieder
>  mwieder at ahsoftware.net
> 
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your 
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution



-----------------------------------------
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