Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
8
Task/Logical-operations/PL-I/logical-operations.pli
Normal file
8
Task/Logical-operations/PL-I/logical-operations.pli
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
logical_ops: procedure (t, u);
|
||||
declare (t, u) bit (1);
|
||||
|
||||
put skip list (t & u);
|
||||
put skip list (t | u); /* logical or */
|
||||
put skip list (^t); /* logical not */
|
||||
put skip list (t ^ u); /* exclusive or */
|
||||
end logical_ops;
|
||||
Loading…
Add table
Add a link
Reference in a new issue