You just need square brackets: foreach varname in={"VAR1"; "VAR2"; "VAR3"} do={[parse "global $varname true"]} yeah but this doesn't work in this setting, if you put space in the values foreach key,value in={"VAR1"="foo with space"; "...
Hi, I am new to scripting I was wondering if there is a way to define globals from an array something like this.. :global env { "foo"="bar"; "foo2"="bar"; "baz"="foo" } :foreach key,value in=$env do={ :global $key $value } I tried that but ...