valueDiff for arrays?

Mark Waddingham mark at livecode.com
Wed Aug 8 13:54:25 EDT 2018


Yup - but isSequence would be correct - false.

The extents might be 1,10

But isSequence would check whether it was 1,9 ...

Mark.

Sent from my iPhone

> On 8 Aug 2018, at 12:19, Mark Wieder via use-livecode <use-livecode at lists.runrev.com> wrote:
> 
> On 08/08/2018 04:18 AM, Mark Waddingham via use-livecode wrote:
> 
>>> "the extents" implements those rules, so "isSequence but " doesn’t need to.
>>> 
>>> Or is there evidence "isSequence" fails?
> 
> on test
>   local i
> 
>   repeat with i=1 to 10
>      put "true" into sArray[i]
>   end repeat
>   put "false" into sArray[pi]
>   delete variable sArray[4]
>   put the extents of sArray && the number of elements of sArray & cr after msg
> end test
> 
> -- 
> Mark Wieder
> ahsoftware at gmail.com
> 
> _______________________________________________
> 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