Procedures in interpretation

This commit is contained in:
Dmitry Boulytchev 2018-03-27 01:51:22 +03:00
parent 30697f19eb
commit b4ef95c8bc
22 changed files with 337 additions and 188 deletions

13
regression/test024.expr Normal file
View file

@ -0,0 +1,13 @@
fun test1 () {
a := 3
}
fun test2 (b) {
a := b
}
test1 ();
write (a);
test2 (8);
write (a)