Hi, let's say we define a global variable:
which we want to set by picking with dynamically created name:
Code
<action name="set_global_var">
txtadd(dynamic_var_name, 'variable_to', '_count');
<!-- what's next, how to set var -->
set(global.get(dynamic_var_name), get(something.matter)); <!-- NOT work -->
set(global[get(dynamic_var_name], get(something.matter)); <!-- NOT work -->
set(global[get(dynamic_var_name].value, get(something.matter)); <!-- NOT work -->
</action>
The question is, which syntax should be in order to set the global value?
By the way, which way to define a global.variable outside of the action tag.
Thx,