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 &nbsp; <big><sup>1</sup>/<sub>3</sub></big> &nbsp; rows of the terminal screen.
 
Extra code could've been added to check for which OS (operating system) is being used and which REXX is
<br>running to determine which program to clear the terminal (screen). &nbsp; Currently, it is
hard-coded to &nbsp; '''CLS'''.
<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.*/