EnglishРусский  
The project is closed! You can look at a new scripting language. It is available on GitHub.
Also, try our open source cross-platform automation software.

Ads

Installer and installation software
Commercial and Freeware installers.

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.