beta
cables is under heavy development.
There might be one or another bug, please let us know about it!

SetNumberArray Op

SetNumberArray

Change the Number of an array at an index



Edit Documentation

Full Name
  • Ops.Array.SetNumberArray
Visibility
  • Core Op - Official cables op
Author


 

Example Patch Array set value example

Basic example of one way to fill the array object with values from another array

Open In Editor

INPUT PORTS


exe (Trigger)

Trigger in

array (Array)

Array in

index (Number:integer )

Index to modify

value (Number)

Number in - changes index to this number

OUTPUT PORTS


values (Array)

Array out


Usages of SetNumberArray

  • Examples
  • Public
  • My Patches
  • Ops

Changelog


code cleanup on portsuser avatarandro - 2019-05-27
outputs null to array when no array comes inuser avatarandro - 2019-05-27
Ops.Array.ArraySetValue renamed to Ops.Array.SetNumberArrayuser avatarpandur - 2019-06-13
fixed - index values are turned into integersuser avatarandro - 2019-06-14