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:
Hard Questions ? (1997)
[WebDNA] Putting '&search' into URL killing all search contexts (2010)
Sendmail Enigma (2004)
[WebDNA] hideif within a search (2009)
A multi-processor savvy WebCatalog? (1997)
setlineitem quantity to zero? (2000)
[WebDNA] Snippets: EXPORT RECORDS using WRITEFILE (2009)
Server 2003 & IIS 6 (2008)
X etc.... (1999)
Protecting Images (2003)
displaying New products (using [date]) (1997)
question: Eudora 3.1.1 (1997)
Attn: Bug in GeneralStore example b15 (1997)
What would be sweet is (2003)
Displaying photo attached to first record (1997)
Help with Repost Data msg from form (1997)
Prevent multiple appends with Reload Button (1997)
Verifying both name and password (was: THANKS) (1997)
two unique banners on one page (1997)
Accentued characters in emails (2000)