opset/4—modify the action and arguments of an operation of an event
The opset/4
function modifies the action and arguments of an operation of an event. The syntax for this function is as follows:
opset($EVENT,$SEQNR,$ACTION,$ARGS)
opset/4 arguments
Argument | Mode | Type | Description |
---|---|---|---|
| Input | OBJECT | Specifies the event for which an operation is to be modified |
| Input | INTEGER | Specifies the sequence number of the desired operation |
| Input | STRING | New action name of the operation |
| Input | STRING | New arguments for the operation action |
Use the opset/4
function to replace the action name and arguments of operation $SEQNR
that is attached to event $EVENT
. The action name is replaced with $ACTION
, and the argument list is replaced with $ARGS
.
Operations are numbered, starting from 1 for the oldest operation. The most recent operation can be obtained by indicating 0 as the sequence number $SEQNR
.
Note
The time stamp and author of an operation cannot be modified.
opset/4 example
opset($E,0,'CloseEvent','');
Comments
Log in or register to comment.