Skip to content

Set List Value

Replaces an existing 1-based element with a compatible value. It is not an automatic append past the end.

Set Variable → Operations → Choose Operation → List. Requires Dev access to configure, then a successful compile to activate.

Input Type Role Requirement Default / constraint
List List Variable binding Required Required
Index (starts at 1) Number Value Required Required
Value Compatible declared type Value Required Required

Stores the result in the first configured destination Variable. Its type must match the result and any generic element/key types.

Block: Set Variable → Operations
Operation: Set List Value
List: Private List<T> result
Index (starts at 1): 1
Value: Number 1 (match the destination/element type)

Use this as an editor configuration: declare any Variables/collections first and choose real locations/eligible targets for your plot. It is not pasteable source code.

Initialize the collection first. Element/key/value declarations are invariant. Reference inputs share mutable contents; choose a copy mode when isolation is required. List indices begin at 1; unsuccessful index searches return 0.

Reference identifier: list.set.