What is WebDNA

WebDNA is a scripting and database system designed to easily build web applications.

WebDNA and BioType

BioType service is a biometric keystroke dynamic system. It will be part of WebDNA 8.5

Download WebDNA

Download WebDNA freeware, try it and register later if you want.

WebDNA resources

The list of all WebDNA instructions.
WebDNA
Software Corporation
Search WebDNA Site
 Menu


HOME


DOWNLOADS


LEARN


EDUCATION


NEWS


COMMUNITY


STORE


SUPPORT


CONTACT

Re: multi condition with showif

This WebDNA talk-list message is from

2005


It keeps the original formatting.
numero = 62874
interpreted = N
texte = Once you get the knack of [If] it is very good. Remember to use "around text variables", it is not required for a Math comparison. You can also nest things eg notice the double brackets ..... [If (("apples"="red")&("bananas"="yellow"))|(200>100)] [Then]This is correct[/Then] [Else]This is wrong[/Else] [/If] Stuart Tremain idfk web developments, sydney, australia On 29 Aug 2005, at 2:37 AM, sbraun wrote: > Gary, > Thanks for the input. > Yes, I would want both conditions to be met, if nesting showif or > not. > Is there a shortcut within one [showif] ? > > I never have any luck with IF/THEN/ELSE > > Thanks, > sfb > > > > On Aug 28, 2005, at 12:31 PM, Gary Krockover wrote: > > >> 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 > digest@talk.smithmicro.com> >> Web Archive of this list is at: http://webdna.smithmicro.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 digest@talk.smithmicro.com> > Web Archive of this list is at: http://webdna.smithmicro.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)
Once you get the knack of [if] it is very good. Remember to use "around text variables", it is not required for a Math comparison. You can also nest things eg notice the double brackets ..... [If (("apples"="red")&("bananas"="yellow"))|(200>100)] [Then]This is correct[/Then] [Else]This is wrong[/Else] [/If] Stuart Tremain idfk web developments, sydney, australia On 29 Aug 2005, at 2:37 AM, sbraun wrote: > Gary, > Thanks for the input. > Yes, I would want both conditions to be met, if nesting showif or > not. > Is there a shortcut within one [showif] ? > > I never have any luck with IF/THEN/ELSE > > Thanks, > sfb > > > > On Aug 28, 2005, at 12:31 PM, Gary Krockover wrote: > > >> 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 > digest@talk.smithmicro.com> >> Web Archive of this list is at: http://webdna.smithmicro.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 digest@talk.smithmicro.com> > Web Archive of this list is at: http://webdna.smithmicro.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/ Stuart Tremain

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:

WebCat2b15MacPlugin - showing [math] (1997) Where's Cart Created ? (1997) WebCat2 several catalogs? (1997) Questions on Mac WC 3.0.5b13 (2000) Problems searching from a FORM (1997) writing orders to a db (1997) Help name our technology! (1997) Authenticate (1997) RE: ANother SHOWIF problem (1997) WebDNA-Talk Digest mode broken (1997) Email template names (1997) Storebuilder SOLVED!!!!!!! (2003) WebCatalog for Postcards ? (1997) Thanks Grant (1997) Emailer (WebCat2) (1997) Bug Report, maybe (1997) [/application] error? (1997) emailer setup (1997) Anyone awake? Newby moves deeper! Sitesearch & Customer DB (2000) Cart Creation (1998)