Comparison Operators
The following table describes comparison operators. For a number, Siebel VB increases the operands to the least common type:
Integer is preferable to Long.
Long is preferable to Single.
Single is preferable to Double.
For a string, the comparison is case-sensitive and is according to the collating sequence that the language specifies in the Microsoft Windows Control Panel. The result is 0 for FALSE and negative 1 for TRUE.
Operator | Description |
---|---|
> |
Greater than. |
< |
Less than. |
= |
Equal to. |
<= |
Less than or equal to. |
>= |
Greater than or equal to. |
<> |
Not equal to. |