I have this following code that confuse me...
:global test ({});
:local a $test;
/log info $a;
:set ($test->"what") "yes it is";
/log info $a;
Output :
(blank/empty line)
what=yes it is
based on the output... why is it that $a also have its value changed when the only variable I changed was the $test variable..
next one was I deleted the test global variable on the environment tab... and run it again...
Output:
what=yes it is
what= yes it is
why is it that it outputs twice when I deleted the global variable and already have declared this at top :global test ({}); <-- (which i assumed it will create a new empty array).. can anyone please help me or explain it to me..