Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

Hull and Outfitting

IF TRUE Expression

  • Last UpdatedJan 08, 2024
  • 1 minute read

IF/TRUE will return a value of the type defined by the second and third arguments.

If the initial Boolean expression is true, the result of the first expression is returned. If false, the result of the second expression is returned.

Both the second and third arguments are fully evaluated regardless of the value of the Boolean. This is because the function is evaluated using reverse polish procedure (as is the case of the expression design). This allows the IF statement to be nestable with any of the arguments to IF capable of including other IF functions.

If logical1 expression is set to true, then value of typeX1expression is returned

If logical1 expression is set to false, then value of typeX1 expression is returned

typeX1 and typeX2 are two arguments of the same type which may be:

Logical

Logical Array

Real

Real Array

ID

ID Array

Text

Position

Direction

Related Links
TitleResults for “How to create a CRG?”Also Available in