Nested array comparisons

Mark Schonewille m.schonewille at economy-x-talk.com
Sun Mar 24 14:55:07 CDT 2013


Monte,

If you use them in the same line of a script, both arrayEncode function 
will treat arrays in the same way. The list of keys is not random.

--
Best regards,

Mark Schonewille

Economy-x-Talk Consulting and Software Engineering
Homepage: http://economy-x-talk.com
Twitter: http://twitter.com/xtalkprogrammer
KvK: 50277553

Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other 
colour spaces. http://www.color-converter.com

We have time for new software development projects. Contact me for a quote.

On 3/24/2013 20:42, Monte Goulding wrote:
>
> On 25/03/2013, at 2:22 AM, Mark Schonewille <m.schonewille at economy-x-talk.com> wrote:
>
>> if arrayEncode(array1) is arrayEncode(array2) then
>>   -- do whatever
>> end if
>
>
> Is there any guarantee that the arrayEncode format is consistent given two arrays with the same keys? We can't be positive the keys will return the keys in the same order as far as I know so it makes me wonder about arrayEncode...
>
> Cheers
>
> --
> Monte Goulding
>
> M E R Goulding - software development services
> mergExt - There's an external for that!
>
>



More information about the use-livecode mailing list