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 Marquardt Designer/Resident Wirehead Toast Design800 Washington Avenue North Minneapolis MN 55401 612.330.9863 v 612.321.9424 f www.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:

    
  1. Re: [WebDNA] Some code inside a large loops fail ... but why? (Kenneth Grome 2010)
  2. Re: [WebDNA] Some code inside a large loops fail ... but why? (christophe.billiottet@webdna.us 2010)
  3. Re: [WebDNA] Some code inside a large loops fail ... but why? (Kenneth Grome 2010)
  4. Re: [WebDNA] Some code inside a large loops fail ... but why? (Kenneth Grome 2010)
  5. Re: [WebDNA] Some code inside a large loops fail ... but why? (christophe.billiottet@webdna.us 2010)
  6. Re: [WebDNA] Some code inside a large loops fail ... but why? (Christer Olsson 2010)
  7. Re: [WebDNA] Some code inside a large loops fail ... but why? (Kenneth Grome 2010)
  8. Re: [WebDNA] Some code inside a large loops fail ... but why? (christophe.billiottet@webdna.us 2010)
  9. Re: [WebDNA] Some code inside a large loops fail ... but why? ("Psi Prime Inc, Matthew A Perosi " 2010)
  10. Re: [WebDNA] Some code inside a large loops fail ... but why? (Kenneth Grome 2010)
  11. Re: [WebDNA] Some code inside a large loops fail ... but why? (Brian Fries 2010)
  12. Re: [WebDNA] Some code inside a large loops fail ... but why? (Kenneth Grome 2010)
  13. Re: [WebDNA] Some code inside a large loops fail ... but why? (Govinda 2010)
  14. Re: [WebDNA] Some code inside a large loops fail ... but why? (Kenneth Grome 2010)
  15. Re: [WebDNA] Some code inside a large loops fail ... but why? (Stuart Tremain 2010)
  16. Re: [WebDNA] Some code inside a large loops fail ... but why? (Kenneth Grome 2010)
  17. Re: [WebDNA] Some code inside a large loops fail ... but why? (Stuart Tremain 2010)
  18. [WebDNA] Some code inside a large loops fail ... but why? (Kenneth Grome 2010)
  19. [WebDNA] Some code inside a large loops fail ... but why? (Kenneth Grome 2010)
  20. WenDNA infinite loops (1 issue solved) ( Brian B. Burton 2004)
  21. Re: Loops in increments of .25 (Gary Krockover 2002)
  22. Re: Loops in increments of .25 (John Peacock 2002)
  23. Re: Loops in increments of .25 (Gary Krockover 2002)
  24. Re: Loops in increments of .25 (Alex McCombie 2002)
  25. Loops in increments of .25 (Gary Krockover 2002)
  26. Re: loops (WebDNA Support 2000)
  27. Re: loops (Rob Marquardt 2000)
  28. Re: loops (WebDNA Support 2000)
  29. Re: loops (Jaishankar Jayaram 2000)
  30. Re: loops (Peter Werno 2000)
  31. Re: loops (Jaishankar Jayaram 2000)
  32. Re: loops (Kenneth Grome 2000)
  33. Re: loops (Jaishankar Jayaram 2000)
  34. loops (Jaishankar Jayaram 2000)
  35. Re: loops (WebDNA Support 2000)
  36. Re: loops (Dale 2000)
  37. Re: Too many webcat comments. [WAS- Large founditems loops] (Dale LaFountain 2000)
  38. Re: REPOST: Large founditems loops (Theodor Paleolog 2000)
  39. Re: REPOST: Large founditems loops (Serban Constantinescu 2000)
  40. Re: REPOST: Large founditems loops (Grant Hulbert 2000)
  41. Re: REPOST: Large founditems loops (Grant Hulbert 2000)
  42. Re: REPOST: Large founditems loops (Derek C. 2000)
  43. Re: REPOST: Large founditems loops (Mike Davis 2000)
  44. REPOST: Large founditems loops (Derek C. 2000)
  45. Re: Too many webcat comments. [WAS- Large founditems loops] (dale@gmr.dresdner.net 2000)
  46. Re: Too many webcat comments. [WAS- Large founditems loops] (John Butler 2000)
  47. Re: Too many webcat comments. [WAS- Large founditems loops] (Derek C. 2000)
  48. Re: Too many webcat comments. [WAS- Large founditems loops] (Charles Kline 2000)
  49. Re: Too many webcat comments. [WAS- Large founditems loops] (Glenn Busbin 2000)
  50. Re: Too many webcat comments. [WAS- Large founditems loops] (Kenneth Grome 2000)
  51. Too many webcat comments. [WAS- Large founditems loops] (John Butler 2000)
  52. Re: Large founditems loops (Kenneth Grome 2000)
  53. Re: Large founditems loops (Derek C. 2000)
  54. Re: Large founditems loops (Kenneth Grome 2000)
  55. Re: Large founditems loops (Derek C. 2000)
  56. Re: Large founditems loops (Derek C. 2000)
  57. Re: Large founditems loops (Kenneth Grome 2000)
  58. Large founditems loops (Derek C. 2000)
  59. Re: Loops N Variables (The Mooseman 1998)
  60. Re: Loops N Variables (PCS Technical Support 1998)
  61. Re: Loops N Variables (Peter Ostry 1998)
  62. Re: Loops N Variables (The Mooseman 1998)
  63. Re: Loops N Variables (Bob Minor 1998)
  64. Re: Loops N Variables (Kenneth Grome 1998)
  65. Loops N Variables (The Mooseman 1998)
  66. Re: Loops and [index] (Kenneth Grome 1998)
  67. Re: Loops and [index] (Trevor Crist 1998)
  68. Re: Loops and [index] (Dave MacLeay 1998)
  69. Loops and [index] (webmaster@textileweb.net (Bill Norman) 1998)
  70. reverse loops (Olin 1998)
  71. Re: Nested Loops and SHOWIFs (Michael Winston 1997)
  72. Re: Nested Loops and SHOWIFs (Michael Winston 1997)
  73. Re: Nested Loops and SHOWIFs (Kenneth Grome 1997)
  74. Re: Nested Loops and SHOWIFs (Kenneth Grome 1997)
  75. Nested Loops and SHOWIFs (Michael Winston 1997)
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 Marquardt Designer/Resident Wirehead Toast Design800 Washington Avenue North Minneapolis MN 55401 612.330.9863 v 612.321.9424 f www.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)