Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
if Column = 1 OR Column = 3 OR Column = 8 then
Select Case Column
Case 1, 3, 8
end Select
str01 = "A"
If int01 = 5 Or [red][b]6[/b][/red] Or [red][b]8[/b][/red] Then
If int01 = 5 Or [red]True[/red] Or [red]True[/red] Then...
?cbool(6) or cbool(8)
?cbool(0)
If int01 = 5 Or 6 Or 8 Then
If int01 = 5 Or [red]int01 = [/red]6 Or [red]int01 =[/red] 8 Then
[blue]Sub test()
Dim int01 As Integer
int01 = 7
If int01 = (5 Or 6) Then
MsgBox "Hmmm..."
End If
End Sub[/blue]
Sub test()
Dim int01 As Integer
int01 = 7
[COLOR=red]' this ALWAYS is true, thus the messagebox[/color red]
If int01 = 5 Or [b]6[/b] Then
MsgBox "Hmmm...seems to anything"
End If
[COLOR=red]' this is NOT true as int01 = 7, so...[/color red]
If int01 = 5 Or [b]int01 = 6[/b] Then
MsgBox "Still?"
Else
MsgBox "No...it is NOT 5 or 6"
End If
End Sub
Dim int01 As Integer
int01 = 3
Select Case int01
Case 1, 3, 8
msgbox "match"
Case Else
msgbox "no match"
end Select
Dim i, j, k, l, m, n as integer
Dim i as integer, j as integer, k as integer, l as integer, m as integer, n as integer
If int01 = (5 Or 6) Then
MsgBox "Hmmm..."
End If
Dim int01 As Integer
int01 = 7
If int01 = 5 Or 6 Then
MsgBox "Hmmm..."
End If
[blue]Sub test()
Dim int01 As Integer
int01 = 7 [green]' a carefully chosen number[/green]
If int01 = (5 Or 6) Then [green]' True[/green]
MsgBox "Hmmm..."
End If
End Sub[/blue]
[blue]Sub test()
Dim int01 As Integer
int01 = [b][red]5[/red][/b] [green]' another carefully chosen number[/green]
If int01 = (5 Or 6) Then [green]' now False[/green]
MsgBox "Hmmm..."
End If
End Sub[/blue]
(5 OR 6) = 7
(5 AND 6) = 4