Too fundamental to be a bug, so what's wrong?

Mike Bonner bonnmike at gmail.com
Mon Jul 30 22:15:04 CEST 2018


You have to declare it as a global in every script where you use it.   It
sounds like thats whats going on here.

On Mon, Jul 30, 2018 at 2:10 PM tbodine via use-livecode <
use-livecode at lists.runrev.com> wrote:

> Hi all.
> I have a global array containing the value 4. It's stored in
> gTSsettings["teamcount"]
> The bizarre thing is when I do value comparisons, gTSsettings["teamcount"]
> does not equal 4.
> This first occurred in a repeat loop, but I can reproduce it in the message
> box, too.
> put gTSsettings["teamcount"]4put gTSsettings["teamcount"] = 4false
> This seems way to fundamental to be an undiscovered bug. So, what am I
> missing?
> I'm using LC 8.1.10 Build 14072 Indy on a MacBook Pro.
> Thanks!
> Tom B.
>
>
>
> --
> Sent from:
> http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html
> _______________________________________________
> 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
>


More information about the use-livecode mailing list