home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!caen!spool.mu.edu!agate!saffron.CS.Berkeley.EDU!joel
- From: joel@saffron.CS.Berkeley.EDU (Joel A. Fine)
- Newsgroups: comp.lang.tcl
- Subject: Recursion in tcl?
- Date: 15 Dec 1992 19:15:09 GMT
- Organization: University of California, Berkeley
- Lines: 19
- Distribution: world
- Message-ID: <1glartINNcl3@agate.berkeley.edu>
- NNTP-Posting-Host: saffron.cs.berkeley.edu
-
- Hi,
-
- Suppose I were crazy enough to write a recursive procedure in tcl. It's
- pretty easy to blow past the hard-coded limit of 100 nested calls in that
- case. Is there any way to dynamically increase that limit? Should there
- be, in some future release of tcl?
-
- - Joel Fine
- joel@cs.berkeley.edu
-
- P.S. Here's how to test that limit:
-
- proc nest {i} {
- echo $i
- incr i
- nest $i
- }
-
- nest 1
-