2016 Update
This commit is contained in:
parent
948b86eafa
commit
dcf5d15da3
7965 changed files with 139854 additions and 31002 deletions
|
|
@ -1,3 +1,6 @@
|
|||
/*REXX program to compute 10!*/ say '10! =' !(10); exit
|
||||
/*REXX program computes 10! (ten factorial) during REXX's equivalent of "compile─time". */
|
||||
|
||||
!: procedure; !=1; do j=2 to arg(1); !=!*j; end; return !
|
||||
say '10! =' !(10)
|
||||
exit /*stick a fork in it, we're all done. */
|
||||
/*──────────────────────────────────────────────────────────────────────────────────────*/
|
||||
!: procedure; !=1; do j=2 to arg(1); !=!*j; end /*j*/; return !
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue