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

WebCatalog-NT?'s (1996) unable to launch acgi in WebCat (1997) Next X hits (1996) BBedit wierdness upon opening "wide" database (2006) WCS Newbie question (1997) Webcatalog server support (1997) Outsourcing partnership ... (2005) Suggestions (1998) Wrapping text (1998) WebCat editing, SiteGuard & SiteEdit (1997) Searching a field and returning the highest value (1997) Triggers (1999) Almost a there but..bye bye NetCloak (1997) RE: [WebDNA] List Files question (2009) WebCatalog Mac 2.1b3 (1997) [WebDNA] Trigger stops executing (2017) Line Feed Character Appended (1998) New Plug-in and Type 11 errors (1997) [OT] MacOs IE5 topmargin and leftmargin bug (2000) WebCat2b13MacPlugIn - [include] doesn't allow creator (1997)