lama_byterun/regression/test036.expr

25 lines
332 B
Text
Raw Normal View History

2019-09-29 02:47:07 +03:00
local x, y, i, j;
2019-09-19 00:15:02 +03:00
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)