Runtime evaluation/In an environment: Difference between revisions
Content added Content deleted
(Added Wren) |
m (→{{header|REXX}}: added whitespace, changed a comment.) |
||
Line 895: | Line 895: | ||
=={{header|REXX}}== |
=={{header|REXX}}== |
||
<lang rexx>/*REXX program |
<lang rexx>/*REXX program demonstrates some run─time evaulations. */ |
||
⚫ | |||
b= fact(4) |
|||
⚫ | |||
say b-a |
say b-a |
||
exit /*stick a fork in it, we're done.*/ |
exit /*stick a fork in it, we're all done. */ |
||
/*──────────────────────────────────────────────────────────────────────────────────────*/ |
|||
⚫ | |||
/*───────────────────────────────────FACT subroutine────────────────────*/ |
|||
{{out|output|text= }} |
|||
⚫ | |||
'''output''' |
|||
<pre> |
<pre> |
||
18 |
18 |