Hi everybody. I'm trying to call script B from different scripts, in the same device of course. But variables declared in B are empty when used in calling scripts.
Variables that I need are declared as follows (I tried to change "local" in "global", with same result):
:local myDate value=[/system clock get date];
:local myTime value=[/system clock get time];
:local myDay [:pick $myDate 4 6];
:local myMonth [:pick $myDate 0 3];
:local myYear [:pick $myDate 7 11];
:local myHour [:pick $myTime 0 2];
:local myMinute [:pick $myTime 3 5];
:local itaTime ($myDay."/".$myMonth."/".$myYear."-".$myHour.":".$myMinute);
Well, when I call this script from other ones, everything works fine (script are correctly run, checking out "run count"), but simply variables declared in script B are empty at the end of calling scripts...
Anyone cam help me, please? Thank you.