You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm testing the functionalities of idDynamicArray_Class. And I know that I can remove one element of an array by using idDynamicArray%remove(index), where index is an integer.
What I want to know is that whether dDynamicArray allows us to remove multiple elements at the same time.
For example, I have an array called array_a = (/ 12, 36, 48, 24, 6, 8 /), and I want to delete array_a(1), array_a(4) and array_a(5). Is there any way to achieve this goal?
The text was updated successfully, but these errors were encountered:
Hey @WangYun1995
I did not implement the insert and remove methods with array arguments, since it would be a matter of using the scalar versions in a loop. I suppose I could implement it in house and have it be a little faster than looping outside the class methods!
Or pull requests are always welcome if you feel up to the challenge?
Hi, @leonfoks
I'm testing the functionalities of
idDynamicArray_Class
. And I know that I can remove one element of an array by usingidDynamicArray%remove(index)
, whereindex
is an integer.What I want to know is that whether
dDynamicArray
allows us to remove multiple elements at the same time.For example, I have an array called
array_a = (/ 12, 36, 48, 24, 6, 8 /)
, and I want to deletearray_a(1)
,array_a(4)
andarray_a(5)
. Is there any way to achieve this goal?The text was updated successfully, but these errors were encountered: