Anonymous user
Paraffins: Difference between revisions
m
→{{header|REXX}}: added a programming note to the REXX section header.
m (→{{header|REXX}}: added highlighting to the REXX section header.) |
m (→{{header|REXX}}: added a programming note to the REXX section header.) |
||
Line 2,298:
=={{header|REXX}}==
(Based, in large part, on the '''Pascal''' version.)
Programming note: the biggest concern was calculating the number of numeric digits (so as to avoid integer overflow).
<lang rexx>/*REXX program enumerates (without repetition) the # of paraffins with N atoms of carbon*/
parse arg nodes . /*obtain optional argument from the CL.*/
|