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

24 lines
333 B
Text

global x, y, i, j;
fun printAS (x) {
local i, j;
for i := 0, i<x.length, i:=i+1 do
for j := 0, j<x[i].length, j:=j+1 do
write (x[i][j])
od
od
}
y := read ();
x := ["abcd", "efgh"];
printAS (x);
for i := 0, i<x.length, i:=i+1 do
for j := 0, j<x[i].length, j:=j+1 do
x[i][j] := 'a'
od
od;
printAS (x)