Re: multi condition with showif

This WebDNA talk-list message is from

2005


It keeps the original formatting.
numero = 62870
interpreted = N
texte = Hi Stephen, You'll have problems with nesting because remember, the 1st condition must be met before it even gets to the 2nd condition so the "or" factor isn't an option. Use an IF/THEN/ELSE, much cleaner: http://webdna.smithmicro.com/ref/pages.html?context=IfContext.html Gary At 11:12 AM 8/28/2005, you wrote: >Hi All, >Can a [showif] command have more than one condition or must they be nested to function? >If so, then how? > >ex: [showif [conditionA]=1 and [conditionB]=1] >code,code,code >[/showif] > >or > >[showif [conditionA]=1] >[showif [conditionB]=1] >code,code,code >[/showif] >[/showif] > >Thanks for any insight. > >Stephen F Braun >sbraun1@twcny.rr.com ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: multi condition with showif ( Kenneth Grome 2005)
  2. Re: multi condition with showif ( Stuart Tremain 2005)
  3. Re: multi condition with showif ( Donovan Brooke 2005)
  4. Re: multi condition with showif ( Gary Krockover 2005)
  5. Re: multi condition with showif ( sbraun 2005)
  6. Re: multi condition with showif ( Gary Krockover 2005)
  7. multi condition with showif ( sbraun 2005)
Hi Stephen, You'll have problems with nesting because remember, the 1st condition must be met before it even gets to the 2nd condition so the "or" factor isn't an option. Use an IF/THEN/ELSE, much cleaner: http://webdna.smithmicro.com/ref/pages.html?context=IfContext.html Gary At 11:12 AM 8/28/2005, you wrote: >Hi All, >Can a [showif] command have more than one condition or must they be nested to function? >If so, then how? > >ex: [showif [conditionA]=1 and [conditionB]=1] >code,code,code >[/showif] > >or > >[showif [conditionA]=1] >[showif [conditionB]=1] >code,code,code >[/showif] >[/showif] > >Thanks for any insight. > >Stephen F Braun >sbraun1@twcny.rr.com ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ Gary Krockover

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:

Can WebDNA do this? (2000) Hiding a subsection of text (2002) Emailer again & again (1997) OT- AS/400 and Macs (2003) Re:Navigator 4.01 (1997) Stumpted Again (1997) [WebDNA] Cloud Server install notes - Ubuntu 14.04 (2018) Re:Need help... (1997) [BoldWords] WebCat.acgib15Mac (1997) Hiding HTML and page breaks (1997) 06/06/2000 bug warning ... (2000) Question about replacing words (1998) Replacing entry (1998) Problems getting parameters passed into email. (1997) Beta 18 (1997) QuantityPrice computed? (1998) sort without the or a (1998) WebDNA Quitting (2008) [delete] problem (1997) spawn (1998)