lama_byterun/regression/test025.lama

34 lines
275 B
Text
Raw Permalink Normal View History

var x, a, b, c;
2018-03-27 01:51:22 +03:00
fun test1 (a) {
write (a)
}
fun test2 (b) {
write (b)
}
fun test3 (c) {
write (c)
}
fun print () {
write (a);
write (b);
write (c)
}
2018-04-25 01:06:18 +03:00
x := read ();
2018-04-11 00:47:46 +03:00
2018-03-27 01:51:22 +03:00
a := 100;
b := 200;
c := 300;
test1 (1);
print ();
test2 (2);
print ();
test3 (3);
print ()