mirror of
https://github.com/ProgramSnail/Lama.git
synced 2025-12-24 23:58:47 +00:00
Massive renaming
This commit is contained in:
parent
241ab0a9ae
commit
61296c51e7
152 changed files with 45 additions and 29 deletions
24
regression/test036.lama
Normal file
24
regression/test036.lama
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
local 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)
|
||||
Loading…
Add table
Add a link
Reference in a new issue