mirror of
https://github.com/ProgramSnail/Lama.git
synced 2025-12-06 06:48:48 +00:00
Procedures in interpretation
This commit is contained in:
parent
30697f19eb
commit
b4ef95c8bc
22 changed files with 337 additions and 188 deletions
13
regression/test024.expr
Normal file
13
regression/test024.expr
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
fun test1 () {
|
||||
a := 3
|
||||
}
|
||||
|
||||
fun test2 (b) {
|
||||
a := b
|
||||
}
|
||||
|
||||
test1 ();
|
||||
write (a);
|
||||
|
||||
test2 (8);
|
||||
write (a)
|
||||
Loading…
Add table
Add a link
Reference in a new issue