fr de es it nl pl pt pt_BR mk sq ca ar fa vi ja ru zh zh_TW eo
Home > api > name > gb.array.new
 
Previous  Next  Edit  Rename  Undo  Refresh  Search  Administration   
Documentation
History
 
GB.Array.New
Syntax
void GB.Array.New ( GB_ARRAY *array , GB_TYPE type , long size )

Creates a new Gambas array object.

The array object has an initial reference count of zero. So you must reference it if you don't return it immediately with GB.ReturnObject.

This function has nothing to do with GB.NewArray that creates arrays that are not Gambas objects.

See also

Array Objects Management