setarg

Syntax

native setarg(arg, index = 0, value);

Usage

arg
Argument index
index
Index to set in the argument (for arrays and strings)

Description

Sets the value of an argument passed into the currently executed function.

Note

This is not equal to assigning a new value to a by-reference argument.