To my knowledge you will need to convert the arrays to lists, work with them in
that form and convert the resulting list to an array. I have a way to convert
an array to a list which preserves the key names which may get you to that
point, then a function to convert a list in that format back to
I guess I "overkilled" it as usual. Oh well - glad it works!
Phil
On 11/10/12 1:16 PM, Jim Hurley wrote:
Hi Phil,
Thanks very much. You solved my problem. I was unaware of "delete variable
myArray[tKey]"
That is very fast.
It appears that this works as well:
repeat for each key tKey in the
Hi Phil,
Thanks very much. You solved my problem. I was unaware of "delete variable
myArray[tKey]"
That is very fast.
It appears that this works as well:
repeat for each key tKey in the keys of arrayOne
delete variable arrayTwo[tKey]
end repeat
This provided a very simple way to "subtract" e
Hi Jim,
I suppose you could do a union (yielding a 3rd array) and an intersect
(yielding a 4th array) and then remove the intersect elements from the
union array. It's not what you wanted but it would work. Like so:
put arrayOne into intersectA
intersect intersectA with arrayTwo
put arrayOne
The intersect command (intersect arrayOne with arrayTwo) removes the elements
from arrayOne that not in arrayTwo.
What I need is an array of the elements removed. Intersect leaves everything
but.
Is there an array operation that accomplishes this?
The dimensions of my arrays are very large and