Jump to content
Developer Wiki and Function Reference Links ×

IF with an OR


Recommended Posts

Each subpart has to be closed by brackets, in your case:

IF (CkCnt=TRUE) OR (CkAll=TRUE) Then

You can create complicated comparisons this way, and multiple subparts can be combined like this :

IF ((CkCnt=TRUE) OR (CkAll=TRUE)) AND (x=y) Then

Also in case of booleans, you can just write the variable, probably don't need the brackets this way:

IF (CkCnt) OR (CkAll) Then

Edited by hippothamus
Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...