Factors of an integer: Difference between revisions

m
→‎{{header|REXX}}: clarified p.='' comment.
(Go solution)
m (→‎{{header|REXX}}: clarified p.='' comment.)
Line 1,127:
divs: procedure; parse arg x .
if x==1 then return 1 /*hand special case of unity (1). */
p.='' /*initilize bothP.1 & P.2 lists to empty. */
 
do j=2 /*divide by all divisors < sqrt(x). */