Funny Math

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 31255
interpreted = N
texte = Mac, WebStar 4.2/SSL, Webcatalog 3.07Unless I'm misunderstanding how the [math] context works, I'm seeing some strange behavior:I use a loop for my CC expiration: I thought this was working fine, and in fact it has been. Today, though, there is no output from the loop. I isolated the [math] portion and discovered that it is evaluating to blank (no value). But if I put a variable value in the equation, it displays the desired value, ie [math][date %Y]+13[/math] <-- No output [math]x=[date %Y]+13[/math] <-- Evaluates correctlyAm I just being a dummy and not understanding the [math] functionality?Mike ------------------------------------------------------------- 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 Associated Messages, from the most recent to the oldest:

    
  1. Re[2]: Funny Math (jpeacock@univpress.com 2000)
  2. Re: Funny Math (Mike Davis 2000)
  3. Re: Funny Math (Rob Marquardt 2000)
  4. Funny Math (Mike Davis 2000)
Mac, WebStar 4.2/SSL, Webcatalog 3.07Unless I'm misunderstanding how the [math] context works, I'm seeing some strange behavior:I use a loop for my CC expiration: I thought this was working fine, and in fact it has been. Today, though, there is no output from the loop. I isolated the [math] portion and discovered that it is evaluating to blank (no value). But if I put a variable value in the equation, it displays the desired value, ie [math][date %Y]+13[/math] <-- No output [math]x=[date %Y]+13[/math] <-- Evaluates correctlyAm I just being a dummy and not understanding the [math] functionality?Mike ------------------------------------------------------------- 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 Mike Davis

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:

blank page from template (1997) Standalone Testing (1998) [WebDNA] Page close data (2014) (1997) syntax question, not in online refernce (1997) shownext url search (2001) WebCat 2.1 & WebStar 4.2 (2000) [WebDNA] Dynamic vertical columns (2008) RE: error count with $purchase (1997) Grep to convert characters to html entities (2006) Emailer or [sendmail] questions ... (1998) too many nested tags ... (1997) using showpage and showcart commands (1996) Banner Ad (1998) Month from number (2002) WebCat2: Items xx to xx shown, etc. (1997) Snake Bites (1997) NT BETA BUG???? (1997) Template Security error (1997) PCS Emailer's role ? (1997)