home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / lang / tcl / 2110 < prev    next >
Encoding:
Internet Message Format  |  1992-12-15  |  786 b 

  1. Path: sparky!uunet!zaphod.mps.ohio-state.edu!caen!spool.mu.edu!agate!saffron.CS.Berkeley.EDU!joel
  2. From: joel@saffron.CS.Berkeley.EDU (Joel A. Fine)
  3. Newsgroups: comp.lang.tcl
  4. Subject: Recursion in tcl?
  5. Date: 15 Dec 1992 19:15:09 GMT
  6. Organization: University of California, Berkeley
  7. Lines: 19
  8. Distribution: world
  9. Message-ID: <1glartINNcl3@agate.berkeley.edu>
  10. NNTP-Posting-Host: saffron.cs.berkeley.edu
  11.  
  12. Hi,
  13.  
  14. Suppose I were crazy enough to write a recursive procedure in tcl. It's
  15. pretty easy to blow past the hard-coded limit of 100 nested calls in that
  16. case. Is there any way to dynamically increase that limit? Should there
  17. be, in some future release of tcl?
  18.  
  19. - Joel Fine
  20. joel@cs.berkeley.edu
  21.  
  22. P.S. Here's how to test that limit:
  23.  
  24. proc nest {i} {
  25.   echo $i
  26.   incr i
  27.   nest $i
  28. }
  29.  
  30. nest 1
  31.