Index finite lists of positive integers: Difference between revisions

m
→‎{{header|REXX}}: added wording to the REXX section header.
m (promoted to (full) task status.)
m (→‎{{header|REXX}}: added wording to the REXX section header.)
Line 644:
 
=={{header|REXX}}==
This REXX version can handle zeros as well as any sized (decimal) positive integers.
 
<lang rexx>/*REXX program assigns an integer for a finite list of arbitrary positive integers. */
No checks are made that the numbers are non-negative integers or malformed integers.
<lang rexx>/*REXX program assigns an integer for a finite list of arbitrary positivenon-negative integers. */
parse arg $ /*obtain optional argument (int list).*/
if $='' | $="," then $=3 14 159 265358979323846 /*Not specified? Then use the default.*/