[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:

PIXO (1997) Search inside Include (1998) ShowNext example for GeneralStore (1997) RE: Cart Template (1997) encrypt (2000) WebCat name recognition (1998) japanese characters (1997) Comments in db? (1997) Decrypting a user password (2000) WebCat2b15MacPlugIn - [authenticate] not [protect] (1997) More on the email templates (1997) WebCatalog/Mac 2.1b2 - PIXO (1997) [quantity] solved (1997) Group search doesn't work. (1997) Changing RAM-cached browser values ... (2000) Separate SSL Server (1997) Separate SSL Server (1997) switching users (1998) page redirect in webDNA (1997) Denying access by IP address (2000)