On 07/08/2018 23:45, Mark Waddingham via use-livecode wrote:
On 2018-08-07 23:31, Mark Wieder via use-livecode wrote:
does that take it out of the 'special' category?
Yes - unless the array's first key is 1, and it then has all integer
keys up to and including its number of elements then it is not
considered a sequence array.
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
-- sequence !?
else
-- arbitrary array
end if
- Alex.
_______________________________________________
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