In reply to UVM_learner6:
I’m guessing you could use the find() method
rdata_q = rdata_array[id].find() with (item.index <64);
But you need to be a lot more specific about your request. Look at all the questions I came up with
- Is the specific number of elements you want to delete a variable or a constant?
- If there are more than 64 elements in the Q, which 64 elements get deleted?
- If there are less than 64 elements, do you still want the operation performed?
- What does this have to do with associative arrays?