Purpose
"Greater than" compares the values of two expressions of the same or similar types.
If the first expression is greater than the second, TRUE is returned; otherwise, FALSE is returned.
Syntax
Expression1 > Expression2
Example
Sub Main()
Dim num as Integer
num = 5
If num > 5 Then
Print "The value of 'num' is greater than 5"
Else
Print "The value of 'num' is less than or equal to 5"
End If
End Sub
|