lama_byterun/regression/test026.expr
2019-09-19 18:37:08 +03:00

36 lines
314 B
Text

global x, a, b, c;
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)
}
x := read ();
a := 100;
b := 200;
c := 300;
test1 (1);
print ();
test2 (2);
print ();
test3 (3);
print ()