Skip to content

Logical or

Description

Clicking this option inserts the "or" operator in the formula at the current cursor position. The result will be true when one of the two operands is true.

Sample

if ({Customer.Credit_Limit} = 0 or {Customer.Purchases} = 0) then
    return 'credit limit or purchases is zero'
else
    return 'neither credit limit or purchases is zero'
end