Nabrio Help
Nabrio Help

Getting Started

Nara Overview

Understanding Nara

Using Nara

Components

Variable Array CreateVariable Array ModifyVariable CreateVariable ModifyDB Table Custom ModifyDB Table Custom ReadDB Table InitializeDB Table Row Insert or ModifyDB Table Row ModifyDB Table Read Last RowDB Table Rows DeleteDB Table Rows Read FiltersDB Table Rows Read

Miscellaneous

Nomenclature
Troubleshooting
Notice and DisclaimerEULA
NodesData

Variable Array Modify

Slot Usage: 0
Parent Node
Variable Array Create

Overview

Variable Array Modify performs structural and value updates on an existing array variable.

Operation behavior changes based on selected operation and array element type.

Input

Variable Source

string required

Reference to Variable Array Create.

Type Reference (Internal)

string

Read-only element type metadata used to render correct value fields.

Operation

string required

Array operation to run:

  • add: append new element or merge behavior for overwrite/add schemas.
  • update: update element at index.
  • remove: remove element at index.
  • pop: remove last element.
  • overwrite: replace whole array value.
  • clear: clear array to empty.

Index

integer

Required for operations that target a specific position (update, remove).

Element Value Fields (Type-Conditional)

Field names vary by element type and operation mode, for example:

  • varString, varNumber, varInteger, varBool, varObject, varImage, varZoneLabels, varRectObject
  • or array variants (varArrayString, varArrayNumber, etc.) for overwrite-style operations.

String-capable fields support Template Expressions.

For number and integer updates, assignment modes can apply arithmetic transforms relative to existing element value:

  • SET, ADD, SUBTRACT, MULTIPLY, DIVIDE

Division by zero is protected at runtime and keeps current value with warning.

Output

outValue

array

Updated array after applying selected operation.

Variable Array Create

Previous Page

Variable Create

Next Page

On this page

OverviewInputVariable SourceType Reference (Internal)OperationIndexElement Value Fields (Type-Conditional)OutputoutValue