D DannyRyan Member Licensed User Longtime User Oct 11, 2012 #1 Hi, does anyone know how to do "not equal to" in B4A? I am struggling to do the following VB? Do : Loop While a<>b Or If a<>b then Searched forum, found the "then continue" statement but that doesnt seem to fit. A:sign0104:
Hi, does anyone know how to do "not equal to" in B4A? I am struggling to do the following VB? Do : Loop While a<>b Or If a<>b then Searched forum, found the "then continue" statement but that doesnt seem to fit. A:sign0104:
M MLDev Active Member Licensed User Longtime User Oct 11, 2012 #2 B4X: If a<>b Then is correct. B4A doesn't support While or Until after the Loop in a Do - Loop structure. You'll have to do something like this: B4X: Do While True ... If a=b Then Exit Loop Last edited: Oct 11, 2012 Upvote 0
B4X: If a<>b Then is correct. B4A doesn't support While or Until after the Loop in a Do - Loop structure. You'll have to do something like this: B4X: Do While True ... If a=b Then Exit Loop