See attached screenshot for reference.
LWGShane Well-Known Member Licensed User Longtime User Jul 11, 2017 #1 See attached screenshot for reference. Attachments ForNextBug.PNG 12.1 KB · Views: 255
stevel05 Expert Licensed User Longtime User Jul 11, 2017 #2 Well, the message is correct, if the first test fails on the first iteration the sub will return Null and the 'Next' statement will never be reached.
Well, the message is correct, if the first test fails on the first iteration the sub will return Null and the 'Next' statement will never be reached.
wonder Expert Licensed User Longtime User Jul 11, 2017 #3 You might wanna roll with something like this: B4X: For color = infrared To ultraviolet If (color == green) Then Return True Next Return False
You might wanna roll with something like this: B4X: For color = infrared To ultraviolet If (color == green) Then Return True Next Return False
LWGShane Well-Known Member Licensed User Longtime User Jul 11, 2017 #4 @stevel05 - Oh alright. For me it was just weird that it was marked like that. @wonder - Thanks, that fixed it.
@stevel05 - Oh alright. For me it was just weird that it was marked like that. @wonder - Thanks, that fixed it.