You are currently viewing the gmlscripts.pro static mirror. Forum access and script submissions are not available through this mirror.

Invert gmlscripts.pro

array

Returns an array populated by given arguments.

names = array("Charlie", "Juliett", "Mike", "Oscar", "Romeo", "Victor");

//  names[0] == "Charlie"
//  names[1] == "Juliett"
//  names[2] == "Mike"
//  names[3] == "Oscar"
//  names[4] == "Romeo"
//  names[5] == "Victor"
array(value,...)
Returns an array populated by given arguments.
COPY/// array(value,...)
//
//  Returns an array populated by given arguments.
//
/// gmlscripts.pro/license
{
    var r, i = argument_count;
    while (--i >= 0) r[i] = argument[i];
    return r;
}

Contributors: YellowAfterlife

GitHub: View · Commits · Blame · Raw