mirror of
https://github.com/wifinigel/MikrotikScripting.git
synced 2025-12-10 04:29:30 +00:00
initial commit
This commit is contained in:
commit
c782dde326
61 changed files with 1457 additions and 0 deletions
10
scripts/ch6-03-global-scope.rsc
Normal file
10
scripts/ch6-03-global-scope.rsc
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
# ---- 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 ----
|
||||
Loading…
Add table
Add a link
Reference in a new issue