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:

[WebDNA] WebDNA version 6.2 to install on 64 bit CentOS 5 server? (2015) [WebDNA] Fwd: RETS... HELP! (2009) question: back button prevention (1997) Add more fields to an existent data base (1997) credit card (1997) Fwd: [WebDNA] Website Examples (2008) How do I get data out of an Orderfile... (2001) Trigger time setting (2002) [OT] Simple java help please (2004) Moving Files (2000) Internet Explorer and caching (2000) Dummy Credit Card Number for debug? (1997) OT: WebDNA and LINUX (2004) [ConvertChars] problem (1997) [cart] clarification... (1997) WebCat2b13MacPlugIn - [include] doesn't allow creator (1997) Sendmail double space (2001) Limitations of spawn? (2006) [search] within [listfiles]? (2003) WebCatalog [FoundItems] Problem - LONG - (1997)