iter
Break a list into individual messages or lists
Description
Breaks a list into individual messages or lists of a specified length.
Arguments
size [number]
Sets the maximum number of elements for each output chunk (default = 1). If there are not enough elements in an incoming list to fill the last output list, it is still output.
Inlets
input [list]
List to be iteratedsize [number]
Sets the maximum number of elements for each output chunk (default = 1). If there are not enough elements in an incoming list to fill the last output list, it is still output.
Outlets
out [list]
Outputs a sequence of numbers or lists of length
until all elements of the incoming list have been passed.Dynamic Attributes
These attributes can be modified in the code during execution using the set object
input [list]
List to be iterated
reset [bang]
reset
size [number]
Sets the maximum number of elements for each output chunk (default = 1). If there are not enough elements in an incoming list to fill the last output list, it is still output.
See Also
Name | Description |
---|---|
iter | |
join | Combine items into a list |
pack | combine numbers into a list |
pak | combine numbers into a list |
unjoin | Break a list into messages |
unpack | separate list values into numbers |