Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
14
Task/Munching-squares/PL-I/munching-squares.pli
Normal file
14
Task/Munching-squares/PL-I/munching-squares.pli
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
munch: procedure options (main); /* 21 May 2014 */
|
||||
|
||||
declare screen (0:255, 0:255) bit(24) aligned;
|
||||
declare b bit(8) aligned;
|
||||
declare (x, y) unsigned fixed binary (8);
|
||||
|
||||
do x = 0 upthru hbound(screen,2);
|
||||
do y = 0 upthru hbound(screen,1);
|
||||
b = unspec(x) ^ unspec(y);
|
||||
screen(x,y) = b;
|
||||
end;
|
||||
end;
|
||||
call writeppm(screen);
|
||||
end munch;
|
||||
Loading…
Add table
Add a link
Reference in a new issue