mirror of
https://github.com/wifinigel/MikrotikScripting.git
synced 2025-07-14 12:04:30 +02:00
update for v6/v7 support
This commit is contained in:
parent
4871e9432b
commit
b10b99bd87
120 changed files with 1479 additions and 22 deletions
|
@ -1,33 +0,0 @@
|
|||
# filename: ch6-06-local-scope.rsc
|
||||
|
||||
# ---- start of a local scope ----
|
||||
{
|
||||
:local apple "green";
|
||||
:local banana "yellow";
|
||||
:put ("(1) The apple is: $apple");
|
||||
:put ("(1) The banana is: $banana");
|
||||
|
||||
# ---- start of child local scope ----
|
||||
{
|
||||
:local apple "red";
|
||||
:put ("(2) The apple is: $apple");
|
||||
:put ("(2) The banana is: $banana");
|
||||
}
|
||||
# ---- end of child local scope ----
|
||||
|
||||
:put ("(3) The apple is: $apple");
|
||||
:put ("(3) The banana is: $banana");
|
||||
|
||||
}
|
||||
# ---- end of local scope ----
|
||||
|
||||
:put ("(4) The apple is: $apple");
|
||||
:put ("(4) The banana is: $banana");
|
||||
|
||||
# ---- start of new local scope ----
|
||||
{
|
||||
:local apple "yellow";
|
||||
:put ("(5) The apple is: $apple");
|
||||
:put ("(5) The banana is: $banana");
|
||||
}
|
||||
# ---- end of new local scope ----
|
Loading…
Add table
Add a link
Reference in a new issue