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

$EVENT

Input

OBJECT

Specifies the event for which an operation is to be modified

$SEQNR

Input

INTEGER

Specifies the sequence number of the desired operation

$ACTION

Input

STRING

New action name of the operation

$ARGS

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.

To determine the number of operations attached to an event, see opcnt-2-count-the-operations-of-an-event.

Note

The time stamp and author of an operation cannot be modified.

opset/4 example

opset($E,0,'CloseEvent','');

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*