It works for if and while statments. Number of params not going well
This commit is contained in:
@ -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