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:

[AppendFile] problem (WebCat2b13 Mac .acgi) (1997) Tracking inbound links for discounts (1997) pop up menu's (1998) color (1999) Problem 2: Prefs file... (1997) Generating unique SKU from [cart] - Still Stumped... (1997) Forms Search Questions (1997) NewCart+Search with one click ? (1997) [WebDNA] Yosemite (2014) Showing unopened cart (1997) two unique banners on one page (1997) Running 2 two WebCatalog.acgi's (1996) [ShowNext] (1997) RE: Problem (1997) Re:listfiles-looking for slick solution (1997) 2.0Beta Command Ref (can't find this instruction) (1997) Line items in table cells (1997) [WebDNA] SendMail Problems, 453 (2016) ShowNext (1997) POP Mail Server Reseting (1998)