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:
[CART] inside a [LOOP] (1997)
Triggers under Windows NT (2001)
Firesite cache vs webcat cache (1997)
WebCatalog on SUSE-Linux 6.3... please help! (2000)
Bit off subject -- Faxing orders (1997)
Encypt Question - Making New Users.db (1999)
Field name-subcategory (1997)
Calendar (1997)
[isfile] ? (1997)
E-Mailer (WebCatb15acgiMac) (1997)
Authenticate (1997)
Trouble with emailer (2000)
NT b19 sends extra MIME headers (1997)
Security Question (1997)
New Guestbook Source (1997)
[ot] Any One Want A WebDNA Billing Program? (2003)
Separate SSL Server (1997)
Attn: Bug in GeneralStore example b15 (1997)
Development terminated. (1998)
remotely add + sign (1997)