Find limit of recursion is part of Short Circuit's Console Program Basics selection.
Task

Find the limit of recursion.




make "depth 0
 
to recurse
  make "depth :depth + 1
  recurse
end
 
catch "ERROR [recurse]
  ; hit control-C after waiting a while
print error          ; 16 Stopping... recurse [make "depth :depth + 1]
(print [Depth reached:] :depth)   ; some arbitrarily large number