Relational Operators


The relational operators perform numeric comparisons if both operands are numbers. Otherwise, they perform string comparisons (that is, lexical, dictionary ordering). A string is considered a number if it consists of only digits, the minus sign, or a period. No white space is allowed. PSL relational operators do not consider constants in C-like exponential notation (such as 2.3e+27) as numbers. The following table lists the PSL relational operators.

PSL Relational Operators

Operator

Definition

==

equal to

!=

not equal to

<

less than

>

greater than

<=

less than or equal to

>=

greater than or equal to

 

Where to go from here

PSL-Operators 

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*

BMC PATROL Agent 20.08