list.compare
Examples
Arguments
input2 [list]
A list in the right inlet sets the internal comparison list to be compared with the list received in the left inlet. It doe not trigger output.
Inlets
input1 [list]
A list in the left input triggers the comparison between lists in the left inlet and lists in the right inlet. A bang in the left inlet compares the initial internal list and the last list sent to the left inlet.
input2 [list]
A list in the right inlet sets the internal comparison list to be compared with the list received in the left inlet. It doe not trigger output.
Outlets
compare [number]
Out left outlet: If the input list is the same as the last one received, a 1 is output. If the list is not the same, a 0 is output.If the input list is the same as the last one received, a 1 is output. If the list is not the same, a 0 is output.
indexes [list]
Out right outlet: If the input list is different, a list of indexes that are not equal will be output.
Dynamic Attributes
These attributes can be modified in the code during execution using the set object
input1 [list]
A list in the left input triggers the comparison between lists in the left inlet and lists in the right inlet. A bang in the left inlet compares the initial internal list and the last list sent to the left inlet.
input2 [list]
A list in the right inlet sets the internal comparison list to be compared with the list received in the left inlet. It doe not trigger output.
reset [bang]
reset
See Also
| Name | Description | 
|---|---|
| zl | Process lists in many ways | 
| zl.compare | Compare two lists | 
| list.change | Filter out repetitions (similar to zl.change) | 
| list.delace | Delace, de-interleave a list. (similar to zl.delace) | 
| list.ecils | Slices a list in reverse order. (similar to zl.ecils) | 
| list.filter | Filter items in list b out of list a. (similar to zl.filter) | 
| list.group | Output a list after N items are received. (similar to zl.group) | 
| list.indexmap | Create a new list based on the indices of an incoming list | 
| list.join | join two lists (similar to zl.join) | 
| list.lace | Lace, interleave two lists | 
| list.len | Length of a list | 
| list.lookup | Output the nth element(s) of the right list. (similar to zl.lookup) | 
| list.median | Output the median of a list of numbers. (similar to zl.median) | 
| list.mth | Output and remove element of a list (0-based) | 
| list.nth | Output and remove element of a list (1-based) | 
| list.queue | Queue, FIFO message storage (First In, First Out) | 
| list.reg | Store a list, bang it out. | 
| list.rev | Reverse a list | 
| list.rot | Rotate a list | 
| list.scramble | Scramble the order of a list | 
| list.sect | Output what is in common between two lists. (similar to zl.sect) | 
| list.slice | Slices input list into two lists | 
| list.sort | Returns a sorted list of numbers. (similar to zl.sort) | 
| list.stack | Last in, first out message memory | 
| list.stream | Make a list with the last N items. (similar to zl.stream) | 
| list.sub | output position for each occurrence of right list in left list | 
| list.sum | Sum a list of numbers. (similar to zl.sum) | 
| list.swap | Swap two list indexes | 
| list.thin | Remove duplicates from a list. (similar to zl.thin) | 
| list.union | Remove duplicates from a list. (similar to zl.union) | 
| list.unique | Output items in left list that are not in right list | 
| listfunnel | Index and output list elements | 
| unjoin | Break a list into messages | 
| Max Data Tutorial 5: List Processing | Max Data Tutorial 5: List Processing |