Dynamically Creating Selector Values

Hello,

I have created a variable that I want to use as a selector and if I change that value in code will it reflect on the value in the selector.

Example:

x=2
x=x + 1
“x is now being used in the selector”

Now does the value in the selector hold the value 2 or 3?

@Sahil_J_Patel
Its 3 bro x is an integer

The selector isn’t holding the value. The variable is. The selector gets the value from the variable as whatever it is at the moment the selector is processed.

1 Like

working with variables of datatype string or int32, but no others

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.