incr/1—increment an integer or enumeration slot by 1
Use the incr/1
operation to increment the slot referenced in $SLOT
by 1. For an enumeration, the slot is set to the next higher value. If there is no higher value, the slot value is not modified.
incr($SLOT)
incr/1 arguments
Argument | Mode | Type | Description |
---|---|---|---|
| Input | SLOTREF | Specifies an integer or enumeration slot to be incremented |
incr/1 example
incr( $E.mc_priority );
Was this page helpful? Yes No
Submitting...
Thank you
Comments
Log in or register to comment.