Show Menu
Cheatography

4D Collections Cheat Sheet (DRAFT) by

Functions and other items related to 4D collections.

This is a draft cheat sheet. It is a work in progress and is not finished yet.

Add/Remove Elements

.push (element {; element2; ... ; elementN} ) -> Mutated
Appends one or more elements
.pop () -> Element
Removes the last element. The removed element is returned by the function.
.insert (index; element) -> Mutated
Inserts an element at the specified index
Collec­tions are 0-based.

Add/Remove Elements

Function
Result Type
Copy Type
Parameter
.push (element {; element2; ... ; elementN} ) -> Mutated
Mutated
.pop () -> Element
Mutated (and element)
.insert (index; element) -> Mutated
Mutated