Re: ElseIf Statements?

This WebDNA talk-list message is from

2005


It keeps the original formatting.
numero = 61411
interpreted = N
texte = Thanks John & Donovan for the responses. I knew it could be done both ways that you guys mentioned. But the use of an [ElseIf] tag sure would make things easier & cleaner. Eric -----Original Message----- From: WebDNA Talk [mailto:WebDNA-Talk@talk.smithmicro.com]On Behalf Of Donovan Brooke Sent: Thursday, March 10, 2005 10:52 AM To: WebDNA Talk Subject: Re: ElseIf Statements? Eric Miller wrote: > Does WebDNA have to capability to do ElseIf statements, or does it only use > [IF] & [ELSE]? I havent seen anything referring to ElseIf anywhere in > documentation. > > Example: > > [IF "[prevSet1]" = ""] [snip] Sure it does... [If "[url][prevSet1][/url]" = ""] [then] code here [/then [else] [if "[prevSet2]" = ""] [then] code here [/then] [else] [if blah blah] [then] code here [/then] [else] code here [/else] [/if] [/else] [/if] [/else] [/if] Donovan -- =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o DONOVAN D. BROOKE Eucalyptus Design <-Web Development (specializing in eCommerce), -> <- Graphic Design, Custom Tags and Labels -> ADDRESS:> Donovan Brooke DBA Eucalyptus Design N2862 Summerville Park Rd. Lodi, WI 53555 PH:> 1.608.592.3567 Web:> http://www.euca.us =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o ------------------------------------------------------------- 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/ ------------------------------------------------------------- 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: ElseIf Statements? ( "Eric Miller" 2005)
  2. Re: ElseIf Statements? ( Donovan Brooke 2005)
  3. Re: ElseIf Statements? ( John Peacock 2005)
  4. ElseIf Statements? ( "Eric Miller" 2005)
Thanks John & Donovan for the responses. I knew it could be done both ways that you guys mentioned. But the use of an [ElseIf] tag sure would make things easier & cleaner. Eric -----Original Message----- From: WebDNA Talk [mailto:WebDNA-Talk@talk.smithmicro.com]On Behalf Of Donovan Brooke Sent: Thursday, March 10, 2005 10:52 AM To: WebDNA Talk Subject: Re: ElseIf Statements? Eric Miller wrote: > Does WebDNA have to capability to do ElseIf statements, or does it only use > [if] & [ELSE]? I havent seen anything referring to ElseIf anywhere in > documentation. > > Example: > > [IF "[prevSet1]" = ""] [snip] Sure it does... [If "[url][prevSet1][/url]" = ""] [then] code here [/then [else] [if "[prevSet2]" = ""] [then] code here [/then] [else] [if blah blah] [then] code here [/then] [else] code here [/else] [/if] [/else] [/if] [/else] [/if] Donovan -- =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o DONOVAN D. BROOKE Eucalyptus Design <-Web Development (specializing in eCommerce), -> <- Graphic Design, Custom Tags and Labels -> ADDRESS:> Donovan Brooke DBA Eucalyptus Design N2862 Summerville Park Rd. Lodi, WI 53555 PH:> 1.608.592.3567 Web:> http://www.euca.us =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o ------------------------------------------------------------- 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/ ------------------------------------------------------------- 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/ "Eric Miller"

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:

price carry over (1997) authorizenet/webmerchant (2000) What am I missing (1997) Nested tags count question (1997) WC2.0 Memory Requirements (1997) Virtual hosting and webcatNT (1997) Pass a form (2003) creating a 60 fields database (1997) [WebDNA] WA,WO or how to find products with multiple selects .... (2018) purchase.log file (1997) [OT} DNSTrans? (2004) NT version (1997) Menu to select product variations (1997) Problems with large number of items in a cart. (1998) WebCat2: multiple currency support (1997) no template caching (1997) Re2: frames & carts (1997) Solution to truncated email problem! (1998) WebCat2b13MacPlugIn - [showif][search][/showif] (1997) WebCatalog for guestbook ? (1997)