Notifications
Clear all
[Closed] substracting arrays?
Apr 04, 2005 8:33 pm
i guess this is an easy question but i am stuck on this
lets say you have two arrays like
array1 = #(1,2,3,4,5,6)
array2 = #(2,3,4)
how can i substract array2 from array1 to get this
newarray = #(1,5,6)
greetings proteus
2 Replies
1 Reply
if you need the subtractoin only for simple arrays of numbers you can use this:
( (array1 as bitArray) - (array2 as bitArray) ) as array
hOpe this helps,
o