# GB.Array.New

`void GB.Array.New ( GB_ARRAY * array , GB_TYPE type , long size )`

Creates a new Gambas Array object.

- array will receive a reference to the array object.
- type is the type of the new array.
- size is the initial length of the array.

The array object has an initial reference count of zero.

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