Strings/arrays/builtins in int/sm

This commit is contained in:
Dmitry Boulytchev 2018-04-25 01:06:18 +03:00
parent b19bea4d58
commit dd5956d663
10991 changed files with 24197 additions and 24039 deletions

18
regression/test034.expr Normal file
View file

@ -0,0 +1,18 @@
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)