update for v6/v7 support

This commit is contained in:
Wifinigel 2023-01-24 20:28:40 +00:00
parent 4871e9432b
commit b10b99bd87
120 changed files with 1479 additions and 22 deletions

View file

@ -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 ----