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.
.ins­ert (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)
.ins­ert (index; element) -> Mutated
Mutated
 

Help Us Go Positive!

We offset our carbon usage with Ecologi. Click the link below to help us!

We offset our carbon footprint via Ecologi