mirror of
https://github.com/wifinigel/MikrotikScripting.git
synced 2025-07-08 00:54:31 +02:00
10 lines
268 B
Text
10 lines
268 B
Text
|
# ---- 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 ----
|