valueDiff for arrays?

Dick Kriesel dick.kriesel at mail.com
Tue Aug 7 22:57:55 EDT 2018


On Aug 7, 2018, at 5:47 PM, Alex Tweedly via use-livecode <use-livecode at lists.runrev.com> wrote:
> 
> Is there an easy way to test whether an array is (currently) a sequence array ?
> 
> something easier than
>     put the extents of tArray into tmp
>     if item 1 of tmp = 1 AND item 2 of tmp = the number of elements in tArray then

slightly easier, at least:
function isSequence p

    return the extents of p is 1, number of elements in p

end isSequence

— Dick


More information about the use-livecode mailing list