Re: Math inside [showif]

This WebDNA talk-list message is from

1998


It keeps the original formatting.
numero = 16698
interpreted = N
texte = >>If you want your math comparisons to work properly inside showif's, do NOT use the optional show=F parameter. When you do, it hides the value of XXX from the showif so the comparison doesn't work as expected. > >Yes, that makes sense. You are telling it to hide the number that is usually displayed as a result of the equation, so effectively it's [ShowIf =1], which of course is trying to compare to 1. > >This is not a bug; it's a natural outcome.I didn't mean it to sound like a bug report, just that I thought (for some reason) that it didn't work like this in the previous version -- but it probably did and I just didn't notice. My bad choice of words, because actually it works EXACTLY as expected! :)Sincerely, Ken Grome 808-737-6499 WebDNA Solutions mailto:ken@webdna.net http://www.webdna.net Associated Messages, from the most recent to the oldest:

    
  1. Re: Math inside [showif] (Kenneth Grome 1998)
  2. Re: Math inside [showif] (Grant Hulbert 1998)
  3. Math inside [showif] (Kenneth Grome 1998)
>>If you want your math comparisons to work properly inside showif's, do NOT use the optional show=F parameter. When you do, it hides the value of XXX from the showif so the comparison doesn't work as expected. > >Yes, that makes sense. You are telling it to hide the number that is usually displayed as a result of the equation, so effectively it's [ShowIf =1], which of course is trying to compare to 1. > >This is not a bug; it's a natural outcome.I didn't mean it to sound like a bug report, just that I thought (for some reason) that it didn't work like this in the previous version -- but it probably did and I just didn't notice. My bad choice of words, because actually it works EXACTLY as expected! :)Sincerely, Ken Grome 808-737-6499 WebDNA Solutions mailto:ken@webdna.net http://www.webdna.net Kenneth Grome

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:

webCatalog and Stocks (1998) Test .... (2002) Erotic Sites (1997) ColdFusion v. WebDNA (2004) WebDNA reviews? (2002) Resolving variables into field names-resolved! (1998) Problems passing [SKU] with $Replace in 2.0 (1997) [listfiles] (1998) WebCat2b15MacPlugin - showing [math] (1997) [WebDNA] WebDNA7 site randomly dropping tags (2011) Shipcost lookup? (1997) [Replace] (2000) Test - please ignore (2006) Sort Floating Point Number (2008) Converting Esiting Html Table Forms to WebCat (1997) 'does not contain' operator needed ... (1997) More on [purchase] (1998) 2.0Beta Command Ref (can't find this instruction) (1997) Trouble with formula.db + more explanation (1997) Error Lob.db records error message not name (1997)