ArrayRemove

From Catglobe Wiki
Revision as of 04:41, 20 December 2011 by Cg van (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search



arrayRemove

Removes the item with specified index from an array.

Syntax

arrayRemove(array, index)

Arguments

array: Is an array.

index: Is an integer expression, index must be greater than or equal to 0..

Return type

empty

Examples

array a = {0, 3, 2};

arrayRemove(a, 1);

print(a); //{0,2}

Availability

Version 4.8