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

WC1.6 to WC2 date formatting (1997) off topic