[ELSEIF] was hideif [x]=1,2,3..:
This WebDNA talk-list message is from 2003
It keeps the original formatting.
numero = 48427
interpreted = N
texte = Talking about 'IF's, I don't know about anybody else, but doing a lot ofembedded IF contexts gets pretty confusing... wouldn't it be simpler to adda new context [ELSEIF].So[if ([var1]=alpha) | ([var2]=beta)][then]Info[/then][elseif ([var3]=gamma)][then]Info[/then][/elseif][elseif ([var4]=delta)][then]Info[/then][/elseif][else]No results matched[/else][/if]Whaddya reckon?Regards,Tim-- Tim RobinsonIDFK Web Developmentstim@idfk.com.au114a/40 Yeo StreetNeutral Bay 2089AustraliaPhone +612 9908 2134Fax +612 9908 4837> From: Gary Krockover
> Reply-To: (WebDNA Talk)> Date: Wed, 5 Mar 2003 19:40:20 -0600> To: (WebDNA Talk)> Subject: Re: hideif [x]=1,2,3..> > I really don't want to do a Show If France Contains Country joke.....I> just really don't want to, so I'll pass.> > : )> > GK> > > > >> Ah, I remember now, it was to do with countries....>> [showif Australia,New Zealand,USA,France^[country]]>> >> Regards,>> Tim>> --> > > -------------------------------------------------------------> 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:
|
- Re: [ELSEIF] was hideif [x]=1,2,3..: (Andrew Simpson 2003)
- Re: [ELSEIF] was hideif [x]=1,2,3..: (Tim Robinson 2003)
- Re: [ELSEIF] was hideif [x]=1,2,3..: (Andrew Simpson 2003)
- Re: [ELSEIF] was hideif [x]=1,2,3..: (Tim Robinson 2003)
- Re: [ELSEIF] was hideif [x]=1,2,3..: (Andrew Simpson 2003)
- Re: [ELSEIF] was hideif [x]=1,2,3..: (Andrew Simpson 2003)
- [ELSEIF] was hideif [x]=1,2,3..: (Tim Robinson 2003)
|
Talking about 'IF's, I don't know about anybody else, but doing a lot ofembedded IF contexts gets pretty confusing... wouldn't it be simpler to adda new context [ELSEIF].So[if ([var1]=alpha) | ([var2]=beta)][then]Info[/then][elseif ([var3]=gamma)][then]Info[/then][/elseif][elseif ([var4]=delta)][then]Info[/then][/elseif][else]No results matched[/else][/if]Whaddya reckon?Regards,Tim-- Tim RobinsonIDFK Web Developmentstim@idfk.com.au114a/40 Yeo StreetNeutral Bay 2089AustraliaPhone +612 9908 2134Fax +612 9908 4837> From: Gary Krockover > Reply-To: (WebDNA Talk)> Date: Wed, 5 Mar 2003 19:40:20 -0600> To: (WebDNA Talk)> Subject: Re: hideif [x]=1,2,3..> > I really don't want to do a Show If France Contains Country joke.....I> just really don't want to, so I'll pass.> > : )> > GK> > > > >> Ah, I remember now, it was to do with countries....>> [showif Australia,New Zealand,USA,France^[country]]>> >> Regards,>> Tim>> --> > > -------------------------------------------------------------> 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/
Tim Robinson
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:
Re:quit command on NT (1997)
Help! I've fallen in Structured Query Language and can'tget (2002)
Erotic Sites (1997)
bugs w/! &/or bad scripting??? (1997)
Error -108 (1997)
RE: IIS4b2 and WebCatalog b19 (1997)
[WebDNA] Ubuntu 14.04 & WebDNA (2017)
Associative lookup style? + bit more (1997)
RE: pricing continued (1998)
cookies (2002)
Date comparison (I think) has bugs ... (1998)
Emailer Q (2002)
I've got a Bad Case of the DreadedÊÊÊÊs! Hel (2002)
[OT] Robust order processing (2003)
Multiple prices (1997)
user flush db (2002)
customizing the color of user's pages (1997)
[WebDNA] Triggers Failing (2008)
One Hour Email (2002)
Getting total number of items ordered (1997)