Shrink Data Member Function

Shrinks the array to a sub-range.

Prototype

int32 Shrink( int32 p_nStartIndex, int32 p_nCount )

Parameters

Parameter Type Parameter Name Documentation
int32p_nStartIndexThe new start index for the array. This will be index zero in the array.
int32p_nCountThe number of items you wish to preserve.

Examples

Copy Text To Clipboard

None published. Please look for an example in the Scenome Scripting Language code base.