Xor-Operator [Runtime] /text/sbasic/shared/03060600.xhp Sun Microsystems, Inc. converted from old format - fpe
Xor operator (logical) Xor-Operator [Runtime] Performs a logical Exclusive-Or combination of two expressions.
Syntax: Result = Expression1 Xor Expression2 Parameters: Result: Any numeric variable that contains the result of the combination. Expression1, Expression2: Any numeric expressions that you want to combine. A logical Exclusive-Or conjunction of two Boolean expressions returns the value True only if both expressions are different from each other. A bitwise Exclusive-Or conjunction returns a bit if the corresponding bit is set in only one of the two expressions. Example: Sub ExampleXor Dim vA as Variant, vB as Variant, vC as Variant, vD as Variant Dim vOut as Variant vA = 10: vB = 8: vC = 6: vD = Null vOut = vA > vB Xor vB > vC REM returns 0 vOut = vB > vA Xor vB > vC REM returns -1 vOut = vA > vB Xor vB > vD REM returns -1 vOut = (vB > vD Xor vB > vA) REM returns 0 vOut = vB Xor vA REM returns 2 End Sub
o/collabora/lov-6.1 LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
path: root/vcl/source/gdi/gdimetafiletools.cxx
AgeCommit message (Expand)Author
2016-10-05convert MapUnit to scoped enumNoel Grandin
2015-09-30Fix typosAndrea Gelmini
2015-08-17Put Polygon from tools under tools:: namespaceNorbert Thiebaud
2015-06-08loplugin:cstylecast: deal with remaining pointer castsStephan Bergmann
2015-05-15window ftbfs: MetaActionType::TRANSPARENT->MetaActionType::TransparentCaolán McNamara
2015-05-15convert META_*_ACTION constants to scoped enumNoel Grandin
2015-04-10automated VclPtrInstance conversion.Michael Meeks
2015-04-10cure a lot of unfortunate ScopedVclPtrs.Michael Meeks
2015-04-10start wrapping OutputDevice in VclPtrNoel Grandin
2015-01-07fdo#84938: convert STREAM_ #defines to 'enum class'Noel Grandin
2015-01-05Some loplugin:revisibility clean-upStephan Bergmann