Re: Logical and or in [hideif]

This WebDNA talk-list message is from

1997


It keeps the original formatting.
numero = 12742
interpreted = N
texte = >it is not clear to me if logical operators >are allowed within the hideif show if contexts. > >eg, is >[hideif [testval]<5 or [testval]>7] testval between 5 and 7 [/hideif] >a valid WebDNA expression? No, they are not. You have to nest your showif's instead, like this:[hideif [testval]<5] [hideif [testval]>7] testval between 5 and 7 [/hideif] [/hideif]Sincerely, Ken Grome WebDNA Solutions http://www.hui.net/dna/webdna.html. Associated Messages, from the most recent to the oldest:

    
  1. Re: Logical and or in [hideif] (John Hill 1997)
  2. Re: Logical and or in [hideif] (Kenneth Grome 1997)
  3. Logical and or in [hideif] (Jim Shaughnessy 1997)
>it is not clear to me if logical operators >are allowed within the hideif show if contexts. > >eg, is >[hideif [testval]<5 or [testval]>7] testval between 5 and 7 [/hideif] >a valid WebDNA expression? No, they are not. You have to nest your showif's instead, like this:[hideif [testval]<5] [hideif [testval]>7] testval between 5 and 7 [/hideif] [/hideif]Sincerely, Ken Grome WebDNA Solutions http://www.hui.net/dna/webdna.html. 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:

textarea inputs and returns (1999) Extended [ConvertChars] (1997) Bug Report, maybe (1997) WebCat2 - Getting to the browser's username/password data (1997) Re:2nd WebCatalog2 Feature Request (1996) 5.0 Pricing (2003) [WriteFile] problems (1997) [WebDNA] [OT] BBEdit Glossary (2012) Emailer error 550? (1999) Timeout question .. (2003) Multiple Pulldowns (1997) [WebDNA] FindString fails ... but why? (2014) access denied problem (1997) suggestion (1997) headers (2004) Add to Cart & List of Products (1997) New reserved words for [tags] (2000) Generating unique SKU from [cart] - Still Stumped... (1997) international time (1997) WebCat2b13MacPlugin - [math][date][/math] problem (1997)