GB.Array.New

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.

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