Array Column Subset Revisited

J. Landman Gay jacque at hyperactivesw.com
Fri Jun 29 14:39:03 EDT 2018


Have you tried the "intersect" command?

On 6/28/18 4:44 PM, Bob Sneidar via use-livecode wrote:
> Hi all.
> 
> We know we can set the customKeys of an object, which will delete any elements of the custom properties not in the list we set it to. Wouldn't it be great if you do the same with the keys of an array? Currently, the keys of an array are read only. If they were settable, you could effectively get just the column(s) of an array (like the dgData of a datagrid) without having to iterate through every array element.
> 
> It may be nitpicking though, if the time savings are negligible.
> 
> Bob S


-- 
Jacqueline Landman Gay         |     jacque at hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com




More information about the Use-livecode mailing list