Important This documentation space contains information about PATROL Agents when deployed in a TrueSight Operations Management environment. If you are a BMC Helix Operations Management user, see PATROL Agent for BMC Helix Operations Management 23.3.

PSL Operator Precedence and Associativity


The precedence and associativity of PSL operators is almost identical to that of C and Perl. The following table lists the PSL operators in descending order of precedence.

Operator

Precedence

Associativity

=

lowest

right

+=, -=, <<=, >>=, ^=

 

right

*=, /=, %=

 

right

|=, &=

 

right

?: (ternary)

 

right

||

 

left

&&

 

left

|

 

left

^

 

left

&

 

left

!=, ==, =~, !~ 

 

left 

<, <=, >, >= 

 

left 

<<, >> 

 

left 

+, - (binary) 

 

left 

*, /, % 

 

left 

. (string concat) 

 

left 

-, !, ++, --

 

right 

() 

 

left 

[] 

highest

left 

 

Where to go from here

PSL-Operators 

 

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