SetLength

Category: Script / Strings
Since engine version: 4.9.6.0 CR

Description

Changes the length of the array to the specified value. Surplus elements will be deleted.

Syntax

void SetLength (array aResize, int iSize);

Parameters

aResize:
Array of which the length is to be changed
iSize:
New length of the array
See also: CreateArray, GetLength
Clonkonaut, Juli 2006