wifinigel.MikrotikScripting/scripts/v6/ch6-03-global-scope.rsc

10 lines
274 B
Text
Raw Normal View History

2023-01-19 21:27:15 +00:00
# ---- global scope start ----
# filename: ch6-03-global-scope.rsc
# Let's create a variable in the global scope
:local GlobalScopeVar "I'm in the global scope!";
# Let's print it out
2023-03-06 20:56:48 +00:00
:put ("Global scope variable contents = $GlobalScopeVar");
2023-01-19 21:27:15 +00:00
# ---- global scope end ----