Difference between revisions of "ArrayRemove"

From Catglobe Wiki
Jump to: navigation, search
Line 1: Line 1:
 
[[Category:Collection_Functions]]
 
[[Category:Collection_Functions]]

+
{{HelpFiles}}
  
 
====arrayRemove====
 
====arrayRemove====

Revision as of 09:33, 12 December 2011



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