native

setarg

Syntax

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

Description

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

Parameters

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

Note

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