Re: Recursion & WebDNA
This WebDNA talk-list message is from 1999
It keeps the original formatting.
numero = 22810
interpreted = N
texte = > I was looking for a way to recursion. It occurred to me that I could>create an include file [include filename.inc] with a database search that>includes itself inside the foundItems loop. Is this a good idea? I>don't expect more than 10 levels of recursion, but am I planning to cause>myself way too much grief?Recursion works the way you describe. It is true that deeper levels ofrecursion use up a certain kind of memory called stack space, butWebCatalog will report when it runs out in case you recurse too deep. Wehave rewritten WebCatalog (3.x and up) to be much more efficient aboutstack space.Technical Support | ==== eCommerce and Beyond ====Pacific Coast Software | WebCatalog, WebMerchant,11770 Bernardo Plaza Court | SiteEdit Pro, PhotoMaster,San Diego, CA 92128 | Typhoon619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com/
Associated Messages, from the most recent to the oldest:
> I was looking for a way to recursion. It occurred to me that I could>create an include file [include filename.inc] with a database search that>includes itself inside the foundItems loop. Is this a good idea? I>don't expect more than 10 levels of recursion, but am I planning to cause>myself way too much grief?Recursion works the way you describe. It is true that deeper levels ofrecursion use up a certain kind of memory called stack space, butWebCatalog will report when it runs out in case you recurse too deep. Wehave rewritten WebCatalog (3.x and up) to be much more efficient aboutstack space.Technical Support | ==== eCommerce and Beyond ====Pacific Coast Software | WebCatalog, WebMerchant,11770 Bernardo Plaza Court | SiteEdit Pro, PhotoMaster,San Diego, CA 92128 | Typhoon619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com/
PCS Technical Support
DOWNLOAD WEBDNA NOW!
Top Articles:
Talk List
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...
Related Readings:
Error Log.db --however (1997)
WebCatalog for guestbook ? (1997)
Searching multiple Databases (1997)
WC 3.0.1 Mac days_to_date (1998)
can WC render sites out? (1997)
Falsifying [BROWSERNAME] (1998)
Search Spiders (2002)
Re:Up-date for Webcatalog 2.0 (1998)
A multi-processor savvy WebCatalog? (1997)
Emailer (1997)
oops private message leaked into talk list (1997)
no [include]s with encryption? (1998)
PIXO support (1997)
format_to_days on NT (1997)
Using Cookie for client specific info? (1997)
Ken's Data Manager (finally available I think ...) (2005)
Imagemagick and fonts (2004)
Setting up Webmerchant.... (1999)
Secure server question (1997)
Ok here is a question? (1997)