true

Boolean, read-only

The true variable is a read-only variable with a predefined value of 1.

Many program statements rely upon conditional tests to determine what program statement should be executed next. The if statement is an example of this. Conditional tests generally evaluate to either a true or false value. In the Security Policy Scripting Language, any positive, non-zero integer can represent a true value, but 1 is normally used. A 0 represents a false value.

Because true and false values are frequently used when creating security policy files, the variable true may be used in place of a numeric value 1 and the variable false may be used in place of a 0 value when evaluating a conditional expression or initializing a variable.

1. Constant, cannot be changed.

For more information, please see false.