LogiView

Linking Conditions

  You may combine several logical OR or AND conditions within an IF or WHILE statement. This feature is mostly used in procedures.

In theory, multiple conditions may even be combined in one decision table line using logical operators. However, for better source code readability, this should not be used.

 

Example 1:

  if (mode() == "I" | mode() == "U")
  Result:
  If mask in Insert or Update mode...
 

Example 2:

  while (NO_ERROR == TRUE & ROW < MAX_ROWS)
  Result:
 

Loop until the NO_ERROR logic variable is "FALSE" and MAX_ROWS has not yet been reached.