Re: loops
This WebDNA talk-list message is from 2000
It keeps the original formatting.
numero = 34405
interpreted = N
texte = On 7/10/00 11:58 am, WebDNA Support so noted...>There is nothing inherently memory-limiting about the [loop] context. >But if you write a huge loop, expect huge amounts of output and >expect the time for execution to scale linearly. This is an >interpreted language, so it's got to re-interpret the interior of the >loop each time through.Are just the interior items reinterpreted, or are the parameters to the loop as well?For example, the original post had the loop:[loop start=0&end=86400&advance=[math]([lookup db=dbs/Vendors.db&lookinfield=VendorID&value=[vendid]&returnfield=TimeIncr])*60[/math]]Would the [lookup] be performed once, or repeatedly for each iteration of the loop?Rob MarquardtDesigner/Resident WireheadToast Design800 Washington Avenue NorthMinneapolis MN 55401612.330.9863 v612.321.9424 fwww.toastdesign.com-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list
.To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/
Associated Messages, from the most recent to the oldest:
On 7/10/00 11:58 am, WebDNA Support so noted...>There is nothing inherently memory-limiting about the [loop] context. >But if you write a huge loop, expect huge amounts of output and >expect the time for execution to scale linearly. This is an >interpreted language, so it's got to re-interpret the interior of the >loop each time through.Are just the interior items reinterpreted, or are the parameters to the loop as well?For example, the original post had the loop:[loop start=0&end=86400&advance=[math]([lookup db=dbs/Vendors.db&lookinfield=VendorID&value=[vendid]&returnfield=TimeIncr])*60[/math]]Would the [lookup] be performed once, or repeatedly for each iteration of the loop?Rob MarquardtDesigner/Resident WireheadToast Design800 Washington Avenue NorthMinneapolis MN 55401612.330.9863 v612.321.9424 fwww.toastdesign.com-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/
Rob Marquardt
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:
webcat in the subject line - SMSI (2002)
WebCat2b13MacPlugIn - [showif][search][/showif] (1997)
Strange intermittent WebDNA problems (2008)
is your webDNA site 'froogle' ready ??? (2003)
WebCat2b13MacPlugin - [math][date][/math] problem (1997)
Template Cache problem (2000)
WebCat2b13MacPlugIn - more [date] problems (1997)
Searching for Email Address (2004)
OFF-TOPIC: Check www.godaddy.com for me ... (2003)
Country & Ship-to address & other fields ? (1997)
[Webcat 2]Next (1997)
Feature req. (2002)
Error handling for accountNum (1997)
[isfile] ? (1997)
Can you do this??? and other stuff (1997)
Multiple catalog databases and showcart (1997)
[WebDNA] [thisurl] not clean on fastcgi 7 (2010)
WebCat2b12 - New features for 1.6 users ... (1997)
WebDNA Feature Request (2006)
RequiredFields (2000)