Anonymous user
Compile-time calculation: Difference between revisions
m
→{{header|REXX}}: added comments to the program.
m (→{{header|REXX}}: removed incorrect tag, added internal HTML comments.) |
m (→{{header|REXX}}: added comments to the program.) |
||
Line 873:
Since REXX is an interpreted language (as are other languages entered for this Rosetta Code task), run time is compile time.
<lang rexx>/*REXX program
say '10! =' !(10)
!: procedure; !=1; do j=2 to arg(1); !=!*j; end; return !</lang>▼
exit /*stick a fork in it, we're all done. */
/*──────────────────────────────────────────────────────────────────────────────────────*/
▲!: procedure; !=1; do j=2 to arg(1); !=!*j; end /*j*/; return !</lang>
'''output'''
<pre>
|