2.5.4.91 SetAtRef

The SetAtRef function conditionally returns an argument.

ABNF:

 SetAtRef = val [val [val]] sp ("1" / "2" / "3") ";SETATREF():129"

Required Arguments:

Name: Arg1

Type: vAny

An argument that specifies the operand to return.

Optional Arguments:

Name: Unused

Type: vAny

This argument is unused and MUST be ignored.

Name: IgnoreArg

Type: vAny

An argument that specifies whether Arg1 is returned. The default value is FALSE.

Return Value:

Type: vAny

This function returns a vAny containing Arg1 if IgnoreArg is FALSE. If IgnoreArg is TRUE, the function returns a PtgUnsWord containing a value of 0.