LibreOffice 24.8 Help
yaayaa Exclusive-Or makaa himanno lama dalagi.
Result = Expression1 XOR Expression2
Bu'aa: lakkoofsi jijjiiramaa kamuu walitti qabaa qaba.
Himannoo1, Himannoo2: Himannoowwan lakkofsa kamu kan makuu barbaadde.
Yaayaan guduunfituu qoqqobbii-Or himannoowwan Buuliyaanii lama gatii Dhugaa deebisu yoo himannon lachuu adda addda ta'an
Laklame qabeessi guduunfituun qoqqobbii-Or laklamee deebisa yoo laklameen walgitu himannoo lamaan keessaa tokko keessatti qindaa'e.
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 ' returns 0
vOut = vB > vA XOR vB > vC ' returns -1
vOut = vA > vB XOR vB > vD ' returns -1
vOut = (vB > vD XOR vB > vA) ' returns 0
vOut = vB XOR vA ' returns 2
End Sub