lama_byterun/regression/test034.lama

20 lines
222 B
Text
Raw Normal View History

2019-09-29 02:47:07 +03:00
local n, x, i;
2018-11-01 15:08:13 +03:00
fun printString (x) {
for i:=0, i<x.length, i:=i+1 do
write (x[i])
od
}
n := read ();
x := "abcdefgh";
printString (x);
for i:=0, i<x.length, i:=i+1 do
2019-04-02 19:51:46 +03:00
x[i] := x[i]+2
2018-11-01 15:08:13 +03:00
od;
printString (x)