History  | 
OR (math) 
Purpose 
Evaluates whether one or both of two expressions are TRUE.  
Only one of the expressions needs to be TRUE for the OR result to be TRUE.  
Syntax 
Expression1 OR Expression2 
Example 
Sub Main() 
        Dim e1 as Integer, e2 as Integer 
e1 = TRUE : e2 = 5 < 34 
        If e1 OR e2 Then 
Print "Either one or both expressions are TRUE" 
        Else 
        Print "Both e1 and e2 do not evaluate to TRUE" 
        End If 
End Sub 
 | ||