menu

If (condition)

The If and End If blocks are used to perform conditional actions. The If block is used to check a condition, and the End If block is used to mark the end of the conditional.
For example, while in a search loop, we want to check if a Mailing List selection is not equal to Subscribed.

If the condition is true, the actions until the End If will be executed.
If the condition is false, then the actions will be skipped.

The available logical operators are:

  • = or == to check for equality
  • != or <> to check for inequality
  • && or AND to join two conditions mandatorily 
  • || or OR to join two conditions optionally

The If block must be followed by an End If block. Anything between these two blocks is considered part of the statement.


InfoLobby © 2025 Globi Web Solutions