not equal to ???

DannyRyan

Member
Licensed User
Longtime User
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:
 

MLDev

Active Member
Licensed User
Longtime User
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:
Upvote 0
Top