dev • api • name • gb.collection.new

GB.Collection.New

void GB.Collection.New ( GB_COLLECTION *col , int mode )

Creates a new Gambas Collection object.

  • col will receive a reference to the collection object.

  • mode is one of the following constant:

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

See also