Initial data commit
This commit is contained in:
parent
72d218235f
commit
f23f22d71c
199087 changed files with 3378941 additions and 0 deletions
12
Task/Sierpinski-triangle/BCPL/sierpinski-triangle.bcpl
Normal file
12
Task/Sierpinski-triangle/BCPL/sierpinski-triangle.bcpl
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
get "libhdr"
|
||||
|
||||
manifest $( SIZE = 1 << 4 $)
|
||||
|
||||
let start() be
|
||||
$( for y = SIZE-1 to 0 by -1 do
|
||||
$( for i=1 to y do wrch(' ')
|
||||
for x=0 to SIZE-y-1 do
|
||||
writes((x & y) ~= 0 -> " ", "** ")
|
||||
wrch('*N')
|
||||
$)
|
||||
$)
|
||||
Loading…
Add table
Add a link
Reference in a new issue