Palindromic primes: Difference between revisions

Content added Content deleted
m (→‎{{header|REXX}}: added whitespace to the output for wider columns.)
m (→‎{{header|REXX}}: changed title comment.)
Line 7: Line 7:


=={{header|REXX}}==
=={{header|REXX}}==
<lang rexx>/*REXX program finds and displays palindromic primes for all N < 500. */
<lang rexx>/*REXX program finds and displays palindromic primes for all N < 1000. */
parse arg hi cols . /*obtain optional argument from the CL.*/
parse arg hi cols . /*obtain optional argument from the CL.*/
if hi=='' | hi=="," then hi= 1000 /*Not specified? Then use the default.*/
if hi=='' | hi=="," then hi= 1000 /*Not specified? Then use the default.*/