I was going to say, I didn't know you could declare a global in the message 
box. 

Bob


On Jul 4, 2011, at 6:05 AM, Ken Ray wrote:

> 
>> When I try to use that command in the Message box, I get an error:
>> 
>> global myVariable; put "A" into myVariable[1]; put "B" into myVariable[2];
>> delete global myVariable[2]
>> 
>> "Error description: delete: bad variable expression"
> 
> This is one of those cases where the Message Box can't resolve things
> properly. If you put the same code in a button an click it, it works without
> an error.
> 
> Ken Ray
> Sons of Thunder Software, Inc.
> Email: k...@sonsothunder.com
> Web Site: http://www.sonsothunder.com/
> 
> 
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to