For example, I have a list of function names stored in a simple global array funcList
Code: Select all
:put $funcList
fName0
function1
mother
If the functions are working and have no parameters, I can execute them from a script, like this:
Code: Select all
:global funcList;
:foreach i in=$funcList do={[:parse ":global $i; [\$$i]"]; :log info $i}
[$fName]
[$mother]
???
I tried:
Code: Select all
:global funcList;
:foreach i in=$funcList do={[:parse ":global $i"]; :log info $i}
[$mother]
Code: Select all
:global funcList;
:global mother
:foreach i in=$funcList do={[:parse ":global $i"]; :log info $i}
[$mother]
Is there any way to get around this problem or is it not possible ?