Multiple groups of logic statements in do while activitie

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.

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.