I just upgraded one of my routers to v3.11 and was working of updating some old scripts. The problem is during my work I found I couldn’t seem to clear the global variables.
I realize that v3.x changed the way you unset/clear variables, but this is what I did, what am I doing wrong?
example…
[admin@Mikrotik] > :global temp value;
[admin@Mikrotik] > :enviroment print
“temp”=“value”
[admin@Mikrotik] > :set temp ##(I am assuming this is still the way in v3.11 to clear a variable)##
[admin@Mikrotik] > :enviroment print
“temp”=
[admin@Mikrotik] >
Not sure what to do I’ve tried everything I could think that made sense to clear the global variable but it always shows up in ‘:enviroment print’ command
I’ve downloaded the newest revision of the manual but it seems its missing the entire scripting section, doesn’t even reference that scripting is possible, I don’t mind change, but the changes need to be documented…