ArrayRemove

From Catglobe Wiki
Revision as of 04:48, 22 March 2011 by Cg pham (talk | contribs)
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);

}

Availability

Version 4.8