A newer version of Max is available. Click here to access the latest version of this document.

iter

Break a list up into a series of numbers

Description

iter unpacks lists one element at a time through its outlet.

Arguments

None.

Messages

bang Sends the number or list most recently received, in sequential order.
int input [int]
The number is sent out the outlet.
float input [float]
The number is sent out the outlet.
list input [list]
The numbers in the list are sent out the outlet in sequential order.
anything input [list]
Performs the same function as list.

Information for box attributes common to all objects

Output

int: The numbers received in the inlet are sent out one at a time.

Examples

Numbers in a list pass through iter one at a time

See Also

Name Description
cycle Send a stream of data to individual outlets
thresh Combine numbers into a list when received close together
unpack Break a list into individual messages
zl Multi-purpose list processing
Max Data Tutorial 2: Data Scaling Max Data Tutorial 2: Data Scaling