Nth [Help Patch]

Access an element of a list

Syntax

Nth options

Options

Inlets

Outlets

Comments

Nth is used to access a particular element in a list. The index (initially specified as an option) can later be overridden using the index inlet.

By default, the outlet of Nth is of type "any," allowing list elements with any type to be returned. Use the -type option to force the outlet to a specific type (or connect a TypeFilter transform to the outlet).

Nth is intended for random access of list elements. Use ForEach if you want to access the elements of a list in sequence.

See Also

OSW Programming Details
ForEach
List