Tell me I'm not crazy

Andre Garzia andre at andregarzia.com
Tue Sep 20 12:16:40 EDT 2011


Tereza,

No it is not crazy...

can we assume that arrayencode always encode the same way? because this way
you can simply arrayencode both values and compare them...

andre

On Tue, Sep 20, 2011 at 12:45 PM, Tereza Snyder <tereza at califex.com> wrote:

>
> Is it crazy to assume that if "=" works, then "<>" (or in other languages,
> "!=") would also?
>
>
> On Sep 20, 2011, at 10:27 AM, Robert Brenstein wrote:
>
> > On 19.09.2011 at 16:04 Uhr -0500 Tereza Snyder apparently wrote:
> >> Look at the docs for "="; LiveCode CAN compare arrays using "=".
> >
> > Ah, something new learned; yes, to quote the docs:
> >
> > The ability to compare two arrays using = was added in version 3.5.
> Previously, comparing two arrays would have converted both arrays into the
> empty string, and always returned true.
> >
> > The docs mention comparing arrays only for the = operator.
> >
> > Robert
> >
> > _______________________________________________
> > 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
>
>
> _______________________________________________
> 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://www.andregarzia.com All We Do Is Code.



More information about the use-livecode mailing list