[WebDNA] if - combining OR and AND

This WebDNA talk-list message is from

2008


It keeps the original formatting.
numero = 101521
interpreted = N
texte = is there a way to combine OR and AND comparisations within one definition? wanted: [if ("a"="a") | (("a"="b") & ("b"="b"))] [then] yes [/then] [/if] with the code I know I'd need to write: [if ("a"="a")] [then] yes [/then] [else] [if ("a"="b") & ("b"="b")] [then] yes [/then] [/if] [/else] [/if Thierry Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] if - combining OR and AND (Govinda 2008)
  2. Re: [WebDNA] if - combining OR and AND (Thierry Almy 2008)
  3. Re: [WebDNA] if - combining OR and AND (Stuart Tremain 2008)
  4. Re: [WebDNA] if - combining OR and AND (Gary Krockover 2008)
  5. [WebDNA] if - combining OR and AND (Thierry Almy 2008)
is there a way to combine OR and AND comparisations within one definition? wanted: [if ("a"="a") | (("a"="b") & ("b"="b"))] [then] yes [/then] [/if] with the code I know I'd need to write: [if ("a"="a")] [then] yes [/then] [else] [if ("a"="b") & ("b"="b")] [then] yes [/then] [/if] [/else] [/if Thierry Thierry Almy

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:

ErrorMessages.db (1998) docs for WebCatalog2 (1997) Visitor info (2000) searching by part of the date information (1999) Error Messages Returned to User (1997) WebCat2b15MacPlugin - [protect] (1997) Cart creation techniques (was Problems with Price field) (1997) flushdatabases (1997) WebCat2 several catalogs? (1997) Bad "from" address in sendmail (2004) problems with 2 tags (1997) OT: SSL Certs (2005) [defined]ish (1997) WebStar Secure on other machine (1997) RE: protect tag on NT (1997) how to use WebCat w. SSL & CyberCash (1998) File Uploads... (1997) WC2.0 Memory Requirements (1997) How to search for fields with 10 or more characters? (2004) Big Databases (1997)