Add 2 vizzy blocks, one for global variable, and one for list variables, that takes an input string and searches the variable type for a case-sensitive matching named variable, and returns that variable's value.

The input string can be direct typed text, a single variable containing text, or a join block containing various forms of text.

for example if i:
set val1 to 10
set val2 to 20
set Val1 to 15
set Val2 to 25
set ref1 to val
set ref2 to Val
set ref3 to 2
and then used Indirect would return
Indirect [ref1] [1] returns 10
Indirect [ref1] [2] returns 20
Indirect [ref2] [1] returns 15
Indirect [ref2] [2] returns 25
Indirect [ref1] [ref3] returns 20
Indirect [ref1] [3] returns an error, because there is no variable named val3

Suggestion Submitted

No Upvotes

Log in in to upvote this post.