Truncatable primes: Difference between revisions

m
→‎{{header|REXX}}: changed the verb tense in the REXX section header comment.
(Updated D entry)
m (→‎{{header|REXX}}: changed the verb tense in the REXX section header comment.)
Line 1,639:
=={{header|REXX}}==
Extra code was added to the prime number generator as this wasis the partsection of the REXX program that consumedconsumes the vast majority of the time.
<lang REXX>/*REXX pgm finds largest left- and right-truncatable primes < 1 million.*/
parse arg high .; if high=='' then high=1000000 /*assume 1 million.*/