From 6614bedceadcc07ec082c5e926107f27903bda5c Mon Sep 17 00:00:00 2001 From: Christian Lohmaier Date: Mon, 25 Jan 2016 20:07:10 +0100 Subject: fix validation errors by round-trip through helpauthoring extension lots of missing attributes "id" and "xml-lang" (extension patched to keep bascode tag) Change-Id: I9c5600b6fa133a6b1062803eadb976e043db7a4a --- source/text/sbasic/shared/03060300.xhp | 77 ++++++++++++++++++---------------- 1 file changed, 40 insertions(+), 37 deletions(-) (limited to 'source/text/sbasic/shared/03060300.xhp') diff --git a/source/text/sbasic/shared/03060300.xhp b/source/text/sbasic/shared/03060300.xhp index 6a9d7e1fe8..33ade16895 100644 --- a/source/text/sbasic/shared/03060300.xhp +++ b/source/text/sbasic/shared/03060300.xhp @@ -1,6 +1,5 @@ - - + - - +--> + - -Imp-Operator [Runtime] -/text/sbasic/shared/03060300.xhp - - -Sun Microsystems, Inc. - + + Imp-Operator [Runtime] + /text/sbasic/shared/03060300.xhp + + + +
-Imp operator (logical) + + Imp operator (logical) -Imp Operator [Runtime] -Performs a logical implication on two expressions. + + +Imp Operator [Runtime] +Performs a logical implication on two expressions.
-Syntax: - -Result = Expression1 Imp Expression2 + +Syntax: + +Result = Expression1 Imp Expression2 -Parameters: - -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: + +Parameters: + 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 ExampleImp -Dim A As Variant, B As Variant, C As Variant, D As Variant -Dim vOut As Variant - A = 10: B = 8: C = 6: D = Null - vOut = A > B Imp B > C ' returns -1 - vOut = B > A Imp B > C ' returns -1 - vOut = A > B Imp B > D ' returns 0 - vOut = (B > D Imp B > A) ' returns -1 - vOut = B Imp A ' returns -1 -End Sub +Sub ExampleImp +Dim A As Variant, B As Variant, C As Variant, D As Variant +Dim vOut As Variant + A = 10: B = 8: C = 6: D = Null + vOut = A > B Imp B > C ' returns -1 + vOut = B > A Imp B > C ' returns -1 + vOut = A > B Imp B > D ' returns 0 + vOut = (B > D Imp B > A) ' returns -1 + vOut = B Imp A ' returns -1 +End Sub -
+ +
\ No newline at end of file -- cgit