ArrayAdd

From Catglobe Wiki
Revision as of 04:45, 22 March 2011 by Cg pham (talk | contribs)
Jump to: navigation, search



arrayAdd

Inserts a new item into a specific array.

Syntax

arrayAdd(array, item)

Arguments

array: Is an array.

item: Is an expression of any data types defined.

Return type

empty

Examples

{

number item = 1;

array a = {3, "2"};

arrayAdd(a, item);

print(a);

}

Availability

Version 4.8