You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser.
B4X FEED Best way to delete items from a list using a for loop
If I am using a For next loop to cycle through a list, what's the best way to remove items from the list without having to exit the loop?
I generally do something like:
for x = 0 to myList.length - 1
myobject = mylist.get(x)
if myobject.value1 = 1 then
mylist.removeat(x)
exit
end if
next
برای دیدن لینک ها باید ثبت نام کنید