Other Help; this code does not work!

LucaMs

Expert
Licensed User
Longtime User
upload_2019-11-25_10-47-27.png




[Excuse me, I don't want to think :D]
 

stevel05

Expert
Licensed User
Longtime User
Have you been drinking or is it me? :)

But if your serious then shouldn't it be:
B4X:
If MyIndex = LabelIndex Then Return
 
Upvote 0

JohnC

Expert
Licensed User
Longtime User
Before the DO, the code is setting "MyIndex = Label1Index".

Then the code inside the DO/LOOP never changes either value, so the "If Myindex <> List1Index then Return" will never happen! (unless List1Index is changed async outside of this routine)
 
Last edited:
Upvote 0

JohnC

Expert
Licensed User
Longtime User
ah..
 
Upvote 0
Top