mirror of
https://github.com/Reuh/anselme.git
synced 2025-10-27 16:49:31 +00:00
Exported variables predefinition: replace prepare system with generic resume system
This commit is contained in:
parent
e2ec105a4b
commit
3edf65dc2a
19 changed files with 155 additions and 136 deletions
10
test/tests/exported variable nested.ans
Normal file
10
test/tests/exported variable nested.ans
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
:f = $
|
||||
| kk
|
||||
:@x = 42
|
||||
:y = $
|
||||
:@z = 12
|
||||
| ko
|
||||
|
||||
|{f.x}
|
||||
|
||||
|{f.y}
|
||||
11
test/tests/symbol alias exported.ans
Normal file
11
test/tests/symbol alias exported.ans
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
:@l = *[1,2,3]
|
||||
|
||||
:&@c = l(2)
|
||||
|
||||
| c={c} (2)
|
||||
| l={l} (*[1,2,3])
|
||||
|
||||
c = 5
|
||||
|
||||
| c={c} (5)
|
||||
| l={l} (*[1,5,3])
|
||||
Loading…
Add table
Add a link
Reference in a new issue