Find limit of recursion: Difference between revisions
Content deleted Content added
m Added LSL |
m →{{header|REXX}}: added comment about never executed code. -- ~~~~ |
||
Line 1,159: | Line 1,159: | ||
On (IBM's) VM/CMS, the limit of recursion was built-into CMS to stop run-away REXX programs, it was either 200 or 250 as I recall. |
On (IBM's) VM/CMS, the limit of recursion was built-into CMS to stop run-away REXX programs, it was either 200 or 250 as I recall. |
||
<br>I believe that later this was changed to allow the user to specify the limit. My memory is really fuzzy about these details. |
<br>I believe that later this was changed to allow the user to specify the limit. My memory is really fuzzy about these details. |
||
<lang rexx>/*REXX program |
<lang rexx>/*REXX program tests the limit of recursion. */ |
||
n=0 |
n=0 |
||
call self |
call self |
||
exit /*this statement will never be executed.*/ |
|||
exit |
|||
self: procedure expose n |
self: procedure expose n |