It works for if and while statments. Number of params not going well
This commit is contained in:
1 parent
c2132ddd00
commit
33347f3051
4 files changed
+69
-50
No files matched your search
@@ -12,7 +12,12 @@ bar (r,s) := {
|
||||
|
||||
entry (arg) := {
|
||||
[ integer: result ; rec: w]
|
||||
result := bar(1,2);
|
||||
while ( result = result ) {
|
||||
while ( result < w.y ) {
|
||||
result := 8;
|
||||
}
|
||||
result := 9;
|
||||
}
|
||||
result := bar('c', 7);
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user