Mon Feb 05, 2018 4:51 pm
Thank you guys,
@ochaconm
ok, this sort of leads me to another question:
- would variable values created in an external script be available to the calling script (using ":global" they should, right?) and
- would they be available fast enough?
@BlackVS
it goes something like:
---------------------------------
:global AR [:toarray 1,2,3,4]
:global a "111"
:global b "222"
.
.
:global x "999"
:foreach i in=$AR do={:set $x ($x , ( $i . "00"))}
----------------------------------
All variables up till this "foreach"-statement are available, but not the new value of $x and none of the configuration, coded by the following lines will get applied.
... Terminal will output: "script executed successfully" though.