Hello,
I need a logic statement like:
(A or B) and C , in a do while condition.
That should meant:
If both A and B are False - Exit do while
If C is false - Exit do while.
How can i implement this?
Hello,
I need a logic statement like:
(A or B) and C , in a do while condition.
That should meant:
If both A and B are False - Exit do while
If C is false - Exit do while.
How can i implement this?
Exactly as you have written above, using parentheses. I recommend replacing or with OrElse and And with AndAlso to implement short-circuit evaluation for quicker runtime.
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.