| Gentee Programming Language > Documentation > Libraries | Download documentation |
Variables of the collection type are used to initialize arrays and structures; furthermore, you can apply them to pass a variable number of arguments of different types to functions.
Operations defined for the variable of collection type are listed below. The second column contains possible statements where typename is a variable or an expression of the specified type.
Operation Syntax Return type Comments * uint Gets the amount of elements in the collection. = collection Collection copying. += collection Appends an element to the collection. An element of any type are required.
| collection.append | Appends a collection |
| collection.clear | Clear a collection |
| collection.gettype | Gets an element type of a collection |
| collection.ptr | Gets a pointer to a collection element |
| collection.val | Gets a value of a collection element |
Copyright © 2004-2006 Gentee Inc. All rights reserved. |