How to use this command
GETVALBYINDEX command is for node level operations. It can be used in any node as an instruction, except for the root node.
It should not be used on the Arrows.
Let's take an example: GETVALBYINDEX '3' $src_list $index_val
Here, "$src_list" has been declared as an array of strings and is equal to = [“This”,”is,”a”,”sample”,”string”]
It will result in $index_val equals to “sample”
Examples
- GETVALBYINDEX '7' "sample string" $char
- GETVALBYINDEX '2' [10, 20, 30, 40] $result
- GETVALBYINDEX '3' ["this", "is", "another", "example"] $val
- GETVALBYINDEX '2' $src_list $index_val