Imp-Operator [Runtime]/text/sbasic/shared/03060300.xhpSun Microsystems, Inc.converted from old format - fpeImp operator (logical)Imp Operator [Runtime]Performs a logical implication on two expressions.Syntax:Result = Expression1 Imp Expression2Parameters:Result: Any numeric variable that contains the result of the implication.Expression1, Expression2: Any expressions that you want to evaluate with the Imp operator.If you use the Imp operator in Boolean expressions, False is only returned if the first expression evaluates to True and the second expression to False.If you use the Imp operator in bit expressions, a bit is deleted from the result if the corresponding bit is set in the first expression and the corresponding bit is deleted in the second expression.Example:Sub ExampleImpDim A as Variant, B as Variant, C as Variant, D as VariantDim vOut as VariantA = 10: B = 8: C = 6: D = NullvOut = A > B Imp B > C REM returns -1vOut = B > A Imp B > C REM returns -1vOut = A > B Imp B > D REM returns 0vOut = (B > D Imp B > A) REM returns -1vOut = B Imp A REM returns -1End Sub