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

10 lines
268 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
:put ("Global variable contents = $GlobalScopeVar");
# ---- global scope end ----