final submission

This commit is contained in:
Meyer Simon
2025-05-06 23:49:01 -04:00
parent a95930c0e5
commit cfb3d9d08e
2 changed files with 35 additions and 13 deletions

View File

@ -15,9 +15,9 @@ bar (r,s) := {
*)
entry (arg) := {
[ Boolean:x ; Boolean:y ; Boolean:z ; Boolean:t; integer: c]
x := true;
y := true;
if ( x | y ) then {
x := false;
y := false;
if ( (x | y) | !( y = x ) ) then {
(*
if ( x<y & !(x=y) ) then {
@ -27,10 +27,10 @@ entry (arg) := {
*)
z := 1 < 2;
c := printBoolean(true);
c := printBoolean(z);
} else {
y := false; (* bar('c', 7); *)
c := printBoolean(false);
c := printBoolean(y);
}
return 0;
}