Nested array comparisons
Dick Kriesel
dick.kriesel at mail.com
Sun Mar 24 16:25:17 EDT 2013
On Mar 24, 2013, at 1:02 PM, Monte Goulding <monte at sweattechnologies.com> wrote:
> I know the list of keys is not random but there's no guarantee on the order as far as I know and I'd want to do a significant amount of testing before I assume two arrays created under different circumstances might return the keys in the same order.
The dictionary entry for arrayEncode says two equal arrays may have different array encodings:
"Note: Arrays in LiveCode are un-ordered. This means in particular that encoding two arrays will not necessarily produce the same result, even if the arrays had the same elements. To compare two arrays, simply use the = operator directly on them rather than encoding them first."
-- Dick
More information about the use-livecode
mailing list