Anonymous user
Galton box animation: Difference between revisions
m
→{{header|REXX}}: elided text from the REXX section that is no longer true (concerning the name of the program to clear the terminal screen).
m (→{{header|REXX}}: added/changed whitespace.) |
m (→{{header|REXX}}: elided text from the REXX section that is no longer true (concerning the name of the program to clear the terminal screen).) |
||
Line 3,433:
Balls are dropped continuously (up to a number specified or the default), the default is enough rows of
<br>pins to fill the top <big><sup>1</sup>/<sub>3</sub></big> rows of the terminal screen.
<lang rexx>/*REXX pgm simulates Sir Francis Galton's box, aka: Galton Board, quincunx, bean machine*/
if !all(arg()) then exit /*Any documentation was wanted? Done.*/
|