lama_byterun/regression/test026.expr
Dmitry Boulytchev b19bea4d58 Functions in X86
2018-04-11 00:47:46 +03:00

34 lines
290 B
Text

fun test1 (a) {
write (a);
print ()
}
fun test2 (b) {
write (b);
print ()
}
fun test3 (c) {
write (c);
print ()
}
fun print () {
write (a);
write (b);
write (c)
}
read (x);
a := 100;
b := 200;
c := 300;
test1 (1);
print ();
test2 (2);
print ();
test3 (3);
print ()