Initial data commit
This commit is contained in:
parent
72d218235f
commit
f23f22d71c
199087 changed files with 3378941 additions and 0 deletions
|
|
@ -0,0 +1,26 @@
|
|||
class MAIN is
|
||||
a(v:BOOL):BOOL is
|
||||
#OUT + "executing a\n";
|
||||
return v;
|
||||
end;
|
||||
b(v:BOOL):BOOL is
|
||||
#OUT + "executing b\n";
|
||||
return v;
|
||||
end;
|
||||
|
||||
main is
|
||||
x:BOOL;
|
||||
|
||||
x := a(false) and b(true);
|
||||
#OUT + "F and T = " + x + "\n\n";
|
||||
|
||||
x := a(true) or b(true);
|
||||
#OUT + "T or T = " + x + "\n\n";
|
||||
|
||||
x := a(true) and b(false);
|
||||
#OUT + "T and T = " + x + "\n\n";
|
||||
|
||||
x := a(false) or b(true);
|
||||
#OUT + "F or T = " + x + "\n\n";
|
||||
end;
|
||||
end;
|
||||
Loading…
Add table
Add a link
Reference in a new issue