Globals from the message box

Mike Bonner bonnmike at gmail.com
Mon Nov 28 18:09:13 EST 2011


Interesting. I tried using a global from the message box without first
declaring it once.  Didn't work for me. Then declared it and it did.  What
am I missing?

On Mon, Nov 28, 2011 at 4:06 PM, J. Landman Gay <jacque at hyperactivesw.com>wrote:

> On 11/28/11 2:07 PM, Bob Sneidar wrote:
>
>  That works famously! It's only in the single line message box that
>> semicolon delimited put statements using globals always resolves to
>> true. Sounds buggy to me!
>>
>
> The message box has automatic access to any globals that have already been
> declared, so you don't need to do it again if they are already listed in
> the globals pane of the message box. The engine has access to all globals
> at all times, and the message box just passes your commands to it.
>
> Semicolons do work in the message box to separate command lines.
>
> --
> Jacqueline Landman Gay         |     jacque at hyperactivesw.com
> HyperActive Software           |     http://www.hyperactivesw.com
>
>
> ______________________________**_________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/**mailman/listinfo/use-livecode<http://lists.runrev.com/mailman/listinfo/use-livecode>
>



More information about the use-livecode mailing list