Pascal's triangle: Difference between revisions
→{{header|Forth}}
(→{{header|Forth}}: Added more efficient code) |
|||
Line 386:
dup init 1 .line
1 ?do i next i 1+ .line loop ;</lang>
This is a bit more efficient
{{trans|C}}
<lang forth>: PascTriangle
cr dup 0
|