Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Tuple types

Tuple types, of the form [t1,t2,tN], are immutable sequences consisting of known element types at compile time. A tuple type contains at least two elements.

[boolean,float]

Tuples are stored in an unpacked form internally wherever possible; therefore, accessing a tuple may box it into a new Object whenever requested. ShockScript does not intern tuple objects.