ArrayRemove

From Catglobe Wiki
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