EnglishРусский  

Ads

Scriptius script builder
Provides the best choice in work automation and great time saving features.

CreateInstall
Freeware and commercial installers

Gentee needs your help!
How to advertise with us
 
laptop battery

Collection

Collection. You can use variables of the collection type for working with collections. Collection is an object which can contains objects of different types. The collection type is inherited from the buf type. So, you can also use methods of the buf type.

 

Operators

* collection Gets the amount of elements in the collection.
collection[ i ] Gets a value of a collection element.
collection = collection Collection copying.
collection += collection Appends elements of a collection to another collection.
collection + collection Putting two collections together and creating a resulting collection.
foreach var,collection Foreach operator.

Methods

collection.append Append an object or a numeric value to the collection.
collection.clear Delete all items from the collection.
collection.gettype Gets an element type of a collection.
collection.ptr Gets a pointer to a collection element.

Types

colitem The structure is used in foreach operator.
Edit