Not-Operator [Runtime]/text/sbasic/shared/03060400.xhpSun Microsystems, Inc.converted from old format - fpeNot operator (logical)Not-Operator [Runtime]Negates an expression by inverting the bit values.Syntax:Result = Not ExpressionParameters:Result: Any numeric variable that contains the result of the negation.Expression: Any expression that you want to negate.When a Boolean expression is negated, the value True changes to False, and the value False changes to True.In a bitwise negation each individual bit is inverted.Example:Sub ExampleNotDim vA as Variant, vB as Variant, vC as Variant, vD as VariantDim vOut as VariantvA = 10: vB = 8: vC = 6: vD = NullvOut = Not vA REM Returns -11vOut = Not(vC > vD) REM Returns -1vOut = Not(vB > vA) REM Returns -1vOut = Not(vA > vB) REM Returns 0end Sub