LOTUSSCRIPT LANGUAGE
Syntax
expr1 Or expr2
Elements
expr1, expr2
In using the Or operation, both expressions must be FALSE for the result to be FALSE.
' Boolean usage
Dim johnIsHere As Boolean, jimIsHere As Boolean
Dim oneOrMoreIsHere As Boolean
johnIsHere = TRUE
jimIsHere = FALSE
oneOrMoreIsHere = johnIsHere Or jimIsHere
Print oneOrMoreIsHere ' Prints True
' Bit-wise usage Dim x As Integer, y As Integer x% = &b11110000 y% = &b11001100 Print Bin$(x% Or y%) ' Prints 11111100
See Also