Tutorial by Examples

Dim count As Integer = 0 Dim message As String If count = 0 Then message = "There are no items." ElseIf count = 1 Then message = "There is 1 item." Else message = "There are " & count & " items." End If
9.0 If(condition > value, "True", "False") We can use the If operator instead of If...Then...Else..End If statement blocks. Consider the following example: If 10 > 9 Then MsgBox("True") Else MsgBox("False") End If is the same as M...

Page 1 of 1