stevel05 Expert Licensed User Longtime User Nov 25, 2019 #2 Have you been drinking or is it me? But if your serious then shouldn't it be: Code: Copy If MyIndex = LabelIndex Then Return Upvote 0
Have you been drinking or is it me? But if your serious then shouldn't it be: Code: Copy If MyIndex = LabelIndex Then Return
DonManfred Expert Licensed User Longtime User Nov 25, 2019 #3 stevel05 said: But if your serious then shouldn't it be: Click to expand... it is based on a tutorial from erel. https://www.b4x.com/android/forum/threads/b4x-resumable-subs-and-the-index-pattern.111487/#content Upvote 0
stevel05 said: But if your serious then shouldn't it be: Click to expand... it is based on a tutorial from erel. https://www.b4x.com/android/forum/threads/b4x-resumable-subs-and-the-index-pattern.111487/#content
LucaMs Expert Licensed User Longtime User Nov 25, 2019 #5 I didn't want to consume my two neurons and there was my graphic tool open, so... Upvote 0
LucaMs Expert Licensed User Longtime User Nov 25, 2019 #6 I should put it up for auction at Christie's: Title: "Drunk Programmer" Upvote 0
JohnC Expert Licensed User Longtime User Nov 26, 2019 #7 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: Nov 26, 2019 Upvote 0
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)
LucaMs Expert Licensed User Longtime User Nov 26, 2019 #8 JohnC said: 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) Click to expand... I was joking! That code is just a piece of an Erel's example. Upvote 0
JohnC said: 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) Click to expand... I was joking! That code is just a piece of an Erel's example.
kisoft Well-Known Member Licensed User Longtime User Nov 27, 2019 #10 Hello. This code doesn't work because you're using an irregular font... Upvote 0