Siebel VB Language Reference > Siebel VB Language Overview > Visual Basic (VB) Expressions >

Comparison Operators (Numeric and String)



Greater than


Less than


Equal to


Less than or equal to


Greater than or equal to


Not equal to

For numbers, the operands are widened to the least common type (Integer is preferable to Long; Long is preferable to Single; Single is preferable to Double). For Strings, the comparison is case-sensitive, and is based on the collating sequence used by the language specified by the user using the Windows Control Panel. The result is 0 for FALSE and -1 for TRUE.
