Talk:Find limit of recursion: Difference between revisions

Content added Content deleted
(Hmm ... I wonder)
Line 41: Line 41:
== Hmm ... I wonder ==
== Hmm ... I wonder ==
Regarding the COBOL example, I haven't found out yet how to 'catch' the error during a run. Is it possible?
Regarding the COBOL example, I haven't found out yet how to 'catch' the error during a run. Is it possible?

: First, if you could not trap the error you could satisfy the task i think by simply logging how far you have gotten each time you recurse. But I expect cobol can do better than that? (See http://www.emunix.emich.edu/info/cobol/books/prxept.htm 5.2.1 and 5.4.3)