Re: Loop weirdness

This WebDNA talk-list message is from

2003


It keeps the original formatting.
numero = 50591
interpreted = N
texte = Not sure if the format= is needed for the date formatting, but I added it just to be Webdocs complient. Seems that the curly braces were throwing off your math, since it wasn't a full date that you were adding 5 to:GK> This does not seem to work... any reason anyone can think of? Mac OS X > - Web* 5 > > > > I have worked around it by doing the same this, but just wondered why > it doesn't work the other way. > > [math show=f]startdate=[date %Y][/math] > [math show=f]enddate=startdate+5[/math] > [loop start=[startdate]&end=[enddate]] > > [/loop] ------------------------------------------------------------- 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://webdna.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: Loop weirdness (Kenneth Grome 2003)
  2. Re: Loop weirdness (dbrooke 2003)
  3. Re: Loop weirdness (Charles Kline 2003)
  4. Re: Loop weirdness (Gary Krockover 2003)
  5. Loop weirdness (Charles Kline 2003)
Not sure if the format= is needed for the date formatting, but I added it just to be Webdocs complient. Seems that the curly braces were throwing off your math, since it wasn't a full date that you were adding 5 to:GK> This does not seem to work... any reason anyone can think of? Mac OS X > - Web* 5 > > > > I have worked around it by doing the same this, but just wondered why > it doesn't work the other way. > > [math show=f]startdate=[date %Y][/math] > [math show=f]enddate=startdate+5[/math] > [loop start=[startdate]&end=[enddate]] > > [/loop] ------------------------------------------------------------- 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://webdna.smithmicro.com/ Gary Krockover

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:

Syncing WebDNA w/ Palm (2005) Problem with Formulas.db (1998) total number of matches (1999) post (2000) Search crashing server (1998) Database Security Rev., (2002) [WebDNA] Copy a whole row from a db to another db or table (2017) Error:Too many nested [xxx] contexts (1997) WebMerchant when CC network is down (1998) Max Record length restated as maybe bug (1997) How can I record purchases to a database? (1998) Secure Server (1997) Shared conversion under WebTen (1998) WebDNA 6 (2004) Text data with spaces in them... (1997) videos.. yak..yak-lets take collection (1998) problems with 2 tags (1997) Web Catalog 2 demo (1997) Linked lists and Recursive searching (2003) shipcost (1997)