Category: Script
/ Strings
Since engine version: 1.0 OC
SetLength
Description
Changes the length of the array to the specified value. Surplus elements will be deleted, if necessary.
Syntax
int SetLength(array resize, int size);
Parameters
- resize:
- Array whose length is to be changed
- size:
- New length of the array.
See also: CreateArray, GetLength