Expressions

An expression is a combination of constants, variables, and operators. Expressions are evaluated according to operator precedence rules. Most expressions follow the general rules of Algebra in regards to operator precedence.

TotalTasks = RejectedCount + AcceptedCount;

In Privilege Management for Unix and Linux 3.2 and earlier, expressions and variables could not be used interchangeably.

Beginning with Privilege Management for Unix and Linux 3.5+, assignments can be performed anywhere expressions are found.

For more information on operator precedence, please see Constants.