Toggle menu
862
3.8K
30.2K
279.1K
Catglobe Wiki
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.
Revision as of 03:31, 20 December 2011 by Cg van (talk | contribs) (→‎arrayAdd)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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); // {3,2,1}

Availability

Version 4.8