Local variable examples that break everything (WIP #69)

This commit is contained in:
2019-06-15 14:32:48 -06:00
parent d51b853dff
commit 96fbf17187
4 changed files with 50 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
```
var targets = [->knot1, ->knot2, ->knot3];
for (target in targets) {
trace(target);
, -> @target ->
}
```
The end.
== knot0
Non-loop example.
== knot1
1
== knot2
2
== knot3
3

View File

@@ -0,0 +1,4 @@
1
2
3
The end.

View File

@@ -0,0 +1,21 @@
```
var local = "1";
, {local}
local = "2";
var local2 = "3";
,,,
{local}
{local2}
,,,
local = ->the_end;
, ->the_end
```
== the_end
The end.

View File

@@ -0,0 +1,4 @@
1
2
3
The end.