opget_args/3—retrieve the argument list of an operation of an event

The opget_args/3 function retrieves the argument list of an operation of an event.  The syntax for this function is as follows:

$ARGS=opget_args($EVENT,$SEQNR)

opget_args/3 arguments

Argument

Mode

Type

Description

$EVENT

Input

OBJECT

Specifies the event for which to retrieve an operation

$SEQNR

Input

INTEGER

Specifies the sequence number of the desired operation

$ARGS

Output

STRING

Arguments for the operation action

Use the opget_args/3 function to obtain the argument list of operation $SEQNR that is attached to event $EVENT and return the value in $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.

opget_args/3 example

$ARGS=opget_args($E,0);
Was this page helpful? Yes No Submitting... Thank you

Comments