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:
Allowed fields in formulas.db (1998)
PIXO support (1997)
restart needed???? (1997)
Plugin vs. CGI (1998)
This is probably a stupid question... (2004)
WebCat2 - storing unformatted date data? (1997)
Calendar using WebCatalog? (1997)
WebCat on Intel Core 2 macs anyone? (2007)
[OT] Imagemagick (2003)
It's working (1997)
Help! WebCat2 bug (1997)
The beginning (1997)
Email and name capture (1999)
OT: Weird table rendering w/ WebCat in Explorer (2005)
WebDNA-Talk Digest mode broken (1997)
Listfiles on network with NT (2000)
help with duplicate records posted (1998)
WebCat2b13MacPlugIn - [include] (1997)
emailer (1997)
Some Questions (1997)