lama_byterun/regression/test034.expr

17 lines
207 B
Text
Raw Normal View History

2018-04-25 01:06:18 +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
x[i] := x[i]+2
od;
printString (x)