A
amir
Hi,
I have a Generic Object that has a private List field item.
I populate the List in a different function
I use a FOREACH LOOP with a FindAll function to get all items that have a
certain match for data in the list and do something to it.
The problem is that it repeats for all data items in the list and not
exclude the ones already processed. How can I exclude the ones already
processed.
what I have is
foreach (item in the list)
mylist = list.findall(item);
foreach(myitem in mylist)
dosomething
the problem occurs in the outer foreach where it already has processed some
items from the original list. how do i exclude them?
I have a Generic Object that has a private List field item.
I populate the List in a different function
I use a FOREACH LOOP with a FindAll function to get all items that have a
certain match for data in the list and do something to it.
The problem is that it repeats for all data items in the list and not
exclude the ones already processed. How can I exclude the ones already
processed.
what I have is
foreach (item in the list)
mylist = list.findall(item);
foreach(myitem in mylist)
dosomething
the problem occurs in the outer foreach where it already has processed some
items from the original list. how do i exclude them?