Array Find Index

Searches for a value in an array and returns its index position.

Settings

array in

Array input flow(s).

value

Value to search for in the input array.

Can also be an array of values to retrieve several indexes at the same time. In this case the index output is an array of indexes.

index

Index position of the matching value. See the fill -1 if not found option below.

fill -1 if not found

When ON, unmatched values produce -1 in the output. When OFF, unmatched values are omitted.

input = [0, 1, 2, 3, 4, 5]
value = [9, 5, 3, 12, -45]

fill -1 if not found = ON:
  index = [-1, 5, 3, -1, -1]

fill -1 if not found = OFF:
  index = [5, 3]
Common Settings

info

show manual

Opens the web browser to display information or help about the selected object, if it exists.

For more details about information/help creation, see create-help-file.

description

Description of the module for internal help purposes only. The description is not displayed in the interface.

ID's

visible only in god mode, see setup-panel-tab-expert.

unique ID

Current private ID for this control used to identify the object.

preset ID

Current private preset ID for this control used for presets.

recreate ID

If you experience difficulties in Polyphonic mode, try to recreate new id(s) with this button.

repair ID s

Each Patch shared on the local network uses its own ID (identification number). If you experience issues of Patches that don't send information to the good target, this button will rebuild all these id's.

Object Remote Address

absolute

Absolute remote address. see objects-address.

local

Local to the current patch remote address. see objects-address.

user addr

User defined remote address. see objects-address.

See also

version 7.0.250121

Edit All Pages