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 waysthat you guys mentioned. But the use of an [ElseIf] tag sure would makethings easier & cleaner.Eric-----Original Message-----From: WebDNA Talk [mailto:WebDNA-Talk@talk.smithmicro.com]On Behalf OfDonovan BrookeSent: Thursday, March 10, 2005 10:52 AMTo: WebDNA TalkSubject: Re: ElseIf Statements?Eric Miller wrote:> Does WebDNA have to capability to do ElseIf statements, or does it onlyuse> [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 toWeb 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:
Thanks John & Donovan for the responses. I knew it could be done both waysthat you guys mentioned. But the use of an [ElseIf] tag sure would makethings easier & cleaner.Eric-----Original Message-----From: WebDNA Talk [mailto:WebDNA-Talk@talk.smithmicro.com]On Behalf OfDonovan BrookeSent: Thursday, March 10, 2005 10:52 AMTo: WebDNA TalkSubject: Re: ElseIf Statements?Eric Miller wrote:> Does WebDNA have to capability to do ElseIf statements, or does it onlyuse> [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 toWeb 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:
is there a [purchase]? (1998)
emailer w/F2 (1997)
Layers,Dreamweaver and WebCat Code (2000)
Protecting webdelivery (1997)
WebCat2b15MacPlugIn - [authenticate] not [protect] (1997)
quitting (1997)
[TaxableTotal] - not working with AOL and IE (1997)
WebCat for Site Search? (1997)
Show next 2 examples that work (1997)
unique ascending numbers (2003)
A little syntax help (1997)
Webcatalog 4.02b5 Mac OS X headers (2000)
New Command prefs ... (1997)
[WebDNA] Lightbox2 for WebDNA [updated] (2008)
Cart vs database (1998)
Unexceling (was I need a smart quote...) (1999)
[sendmail] sending twice... (Update) (2003)
WebCat2b12 CGI Mac - [shownext] problem (1997)
Error Lob.db records error message not name (1997)
Calendar (1997)