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:

Re:WebDNA Writer Needed (1997) error: Too many nested [xxx] contexts (1997) Strange Crash (1998) quantity minimum problem (1997) WebCat2b13MacPlugin - [math][date][/math] problem (1997) WC2.0 Memory Requirements (1997) Email Obfuscation Function (2008) problem with text A (2000) Mac Authorize (1999) Size limit for tmpl editor ? (1997) carriage returns in data (1997) ShowNext truncating passed variable?? (1997) Searching for the end (1998) shipcost (1997) WebCatalog Mac and cgi-bin (WebSTAR 2.0) (1997) OSX b5 [listvariables] (2000) Search Question (2003) weirdness in the error log (1998) Web Catalog 2 demo (1997) Major bug report on rootbeer (1997)