MD5 digest of arrays and controls
Terry Judd
tsj at unimelb.edu.au
Sun Jul 31 23:57:26 EDT 2011
On 01/08/2011, at 01:24 PM, Alejandro Tejada wrote:
> Hi all,
>
> How could I get the MD5digest of an Array and
> all the properties of a control?
I guess you could use arrayEncode() first and then get an MD5digest of the data.
>
> For example, I created a control, by script,
> and I want to make sure that it's identical
> to another control created by a different script.
How about copying the objects to the clipboard and then querying the clipboardData["objects"].
Terry...
>
> How could I compare both controls using a
> MD5digest of their relevant properties?
> (obviously, their name should be different,
> so I do not want to include that property
> in the comparision).
>
> And How could I do this with two global Array
> variables?
>
> I collect data in these two different arrays
> using two different scripts and need to be
> sure that their data is identical.
>
> Thanks in advance!
>
> Al
>
> _______________________________________________
> 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