I used $VALUE instead of \$VALUE, but it worked perfectly.Using ":execute" instead of ":parse", it works :
Code: Select all:foreach varname in={"VAR1" ; "VAR2" ; "VAR3" } do={:execute ":global $varname \$VALUE" }
do { :delay 2 } on-error={ :put "Test" }
:global TEST "192.168.0.1"
:put $TEST/24