Pascal's triangle: Difference between revisions

m
→‎{{header|REXX}}: changed indentation for then/else clauses.
m (→‎{{header|REXX}}: re-did the REXX program to be a bit more idiomatic, changed/added whitespace and comments.)
m (→‎{{header|REXX}}: changed indentation for then/else clauses.)
Line 2,720:
/*if NN<0, output is written to a file.*/
do r=1 for N /*show│write lines (rows) of triangle. */
if nn>0 then say center($.r, width) /*SAY, or*/
else call lineout 'PASCALS.'n, center($.r, width) /*write. */
end /*r*/
exit /*stick a fork in it, we're all done. */