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:
HELP WITH DATES (1997)
embedding commands in form (1999)
2nd Request for help/advice on variable pricing + MORE (2000)
WebCat2b15MacPlugin - showing [math] (1997)
Browser Check for WebDNA compatability (1999)
PIXO Support (1997)
Bug Report, maybe (1997)
[WebDNA] An actual attempt to get WebDNA and MAMP Pro to work - (2018)
Erotic Sites (1997)
Using Eudora instead of Emailer, and cron facility (1998)
Pull Down Search (2000)
Beta 18 (1997)
OT: Web Cams (2003)
Encrypt/Decrypt (2008)
A little syntax help (1997)
Wierd Password Tension (1999)
SiteEdit NewFile.html ? (1997)
Forms Search Questions (1997)
problems with 2 tags (1997)
no [search] with NT (1997)