Tereza Snyder wrote:
You CAN compare arrays for equality (see the docs for "="), but evidently not for INequality!
That's good to know. I had thought that all operators only worked on strings or numbers, and since attempting to get the value of an array (as opposed to the value of one of its elements) will always return an empty string that "=" would work no better than the rest of them. Interesting that it can be used like this.
For other types of comparisons, you might consider using either arrayEncode or combine to flatten the array to a string that can then be compared.
-- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com LiveCode Journal blog: http://LiveCodejournal.com/blog.irv _______________________________________________ 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