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 to computecomputes 10!*/ (ten sayfactorial) '10!during =REXX's !(10);equivalent of exit"compile─time". */
 
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>