Hi All
In my script, I defined several global variable, and at the end of my script, I wang to release them.
Can anybody help me?
Thank you!
routeros 4.17
Hi All
In my script, I defined several global variable, and at the end of my script, I wang to release them.
Can anybody help me?
Thank you!
routeros 4.17
it is safe to set it to hold no value like this
:set var
set them to empty?
If by release you mean remove, yes, that can be done:
:global myVar "some value"
...
...
/system script environment remove myVar
Or you can remove them all:
/system script environment remove [find]