decr/1—decrement an integer or enumeration slot by 1
The decr/1 enumeration operation decrements an integer or enumeration slot by 1. The syntax for this operation is as follows:
decr($SLOT)
decr/1 arguments
Argument | Mode | Type | Description |
---|---|---|---|
$SLOT | Input | SLOTREF | Specifies an integer or enumeration slot to be decremented |
Use decr/1 to decrement the slot referenced in $SLOT by 1. For an enumeration, the slot is set to the next lower value, or unmodified if there is no lower value.
decr/1 example
decr( $E.mc_priority );
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*