Distinct palindromes within decimal numbers: Difference between revisions

Content added Content deleted
m (→‎{{header|REXX}}: added the extra strings used by another programming language entry.)
m (→‎{{header|REXX}}: changed the program title comment.)
Line 334: Line 334:
=={{header|REXX}}==
=={{header|REXX}}==
This REXX version can handle strings or numbers.
This REXX version can handle strings or numbers.
<lang>/*REXX program finds distinct palindromes contained in substrings (of decimal numbers). */
<lang>/*REXX pgm finds distinct palindromes contained in substrings (decimal #s or strings). */
parse arg LO HI mL $$ /*obtain optional arguments from the CL*/
parse arg LO HI mL $$ /*obtain optional arguments from the CL*/
if LO='' | LO="," then LO= 100 /*Not specified? Then use the default.*/
if LO='' | LO="," then LO= 100 /*Not specified? Then use the default.*/