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

[append] (1997) Bug or syntax error on my part? (1997) [isfolder] and [filename] (1997) emailer (1997) Make sure I understand this??? (1997) close to comparison (2000) Using Plug-In while running 1.6.1 (1997) Another question (1997) New WebDNA Forum Solution (in development) (2003) Carraige returns [sendmail] (2004) Transferring textareas (1997) [WebDNA] Replace / Append only unique data (2013) searching for not-a-number - solved (2003) WebCat2b15MacPlugin - showing [math] (1997) Multiple catalog databases and showcart (1997) two unique banners on one page (1997) Don't do this! (2003) random .inc files pulled and placed (2002) RE: type 2 errors with ssl server (1997) WebCat2 several catalogs? (1997)