Piprimes: Difference between revisions

m
→‎{{header|REXX}}: added comments for the program title (header comment).
m (→‎{{header|REXX}}: added the computer programming language REXX.)
m (→‎{{header|REXX}}: added comments for the program title (header comment).)
Line 6:
<br><br>
=={{header|REXX}}==
<lang rexx>/*REXX program finds and displays pi(n) for 0 <n<22 N where the pi functionprime(22) returns {the #22nd ofprime primes.is 87},*/
/*────────────────────────── where the pi function returns the number of primes ≤ N.*/
parse arg hi cols . /*obtain optional argument from the CL.*/
if hi=='' | hi=="," then hi= 22 /* " " " " " " */