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:

thankyou.tmpl (1997) More on the email templates (1997) Thanks Grant (1997) Stumpted Again (1997) search with funny characters (2003) 5.0 Pricing (2003) ConvertChars (2000) tracking variables across a site... (2000) WebCommerce: Folder organization ? (1997) Help! WebCat2 bug (1997) Reversed words (1997) wild question (1998) Formulas.db (2000) [convertchars] on potential malicious input even in a link? (2000) test (2000) webmerchant and check cashing (1998) AppleScript/.db (was:FTP to WebStar) (2001) Sum of Quantities (1997) your mail (2000) Looking for a host (1997)