(a)
If bpCheck = -1 Then 
    [Process some things]
    End if

(b)
If bpCheck = 1 Then 
    [Process some things]
    End if

(c)     
If bpCheck = True Then
[Process some things]
End if

(d)
opConnection.CommandType = adCmdStoredProcedure

(e)
opConnection.CommandType = 4

Example 6: True, False, and constants.

Back to Article