Or-Operator [Runtime]/text/sbasic/shared/03060500.xhpOr operator (logical)Or Operator [Runtime]Performs a logical OR disjunction on two expressions.Syntax:Result = Expression1 Or Expression2Parameters:Result: Any numeric variable that contains the result of the disjunction.Expression1, Expression2: Any numeric expressions that you want to compare.A logical OR disjunction of two Boolean expressions returns the value True if at least one comparison expression is True.A bit-wise comparison sets a bit in the result if the corresponding bit is set in at least one of the two expressions.Example:Sub ExampleOrDim vA as Variant, vB as Variant, vC as Variant, vD as VariantDim vOut as VariantvA = 10: vB = 8: vC = 6: vD = NullvOut = vA > vB Or vB > vC REM -1vOut = vB > vA Or vB > vC REM -1vOut = vA > vB Or vB > vD REM -1vOut = (vB > vD Or vB > vA) REM 0vOut = vB Or vA REM 10End Sub