Re: [ELSEIF] was hideif [x]=1,2,3..:
This WebDNA talk-list message is from 2003
It keeps the original formatting.
numero = 48432
interpreted = N
texte = Aha... exactly! So my first post stands. I'm sure elseif is common in otherlanguages....Regards,Tim-- Tim RobinsonIDFK Web Developmentstim@idfk.com.au114a/40 Yeo StreetNeutral Bay 2089AustraliaPhone +612 9908 2134Fax +612 9908 4837> From: Andrew Simpson
> Reply-To: (WebDNA Talk)> Date: Thu, 6 Mar 2003 15:04:29 +1300> To: (WebDNA Talk)> Subject: Re: [ELSEIF] was hideif [x]=1,2,3..:> > except you can probably only do single comparisons per case statement rather> than the multiple or's and ands you get with an if.> > > > ----- Original Message -----> From: Tim Robinson > To: WebDNA Talk > Sent: Thursday, March 06, 2003 2:59 PM> Subject: Re: [ELSEIF] was hideif [x]=1,2,3..:> > >> I remember seeing that before, but I've certainly never used it... looks>> like it should do the same thing.>> >> Regards,>> Tim>> -->> Tim Robinson>> IDFK Web Developments>> tim@idfk.com.au>> 114a/40 Yeo Street>> Neutral Bay 2089>> Australia>> Phone +612 9908 2134>> Fax +612 9908 4837>> >>> From: Andrew Simpson >>> Reply-To: (WebDNA Talk)>>> Date: Thu, 6 Mar 2003 14:58:50 +1300>>> To: (WebDNA Talk)>>> Subject: Re: [ELSEIF] was hideif [x]=1,2,3..:>>> >>> ah - yep.>>> >>> [text]x=5[/text]>>> [Switch value=[x]]>>> [Case value=1]>>> The value of x was 1>>> [/Case]>>> [Case value=2]>>> The value of x was 2>>> [/Case]>>> [Default]>>> The value of x was neither 1 nor 2; it was [x]>>> [/Default]>>> [/Switch]>>> >>> >>> >>> ----- Original Message ----->>> From: Tim Robinson >>> To: WebDNA Talk >>> Sent: Thursday, March 06, 2003 2:52 PM>>> Subject: [ELSEIF] was hideif [x]=1,2,3..:>>> >>> >>>> Talking about 'IF's, I don't know about anybody else, but doing a lot> of>>>> embedded IF contexts gets pretty confusing... wouldn't it be simpler to>>> add>>>> a 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 Robinson>>>> IDFK Web Developments>>>> tim@idfk.com.au>>>> 114a/40 Yeo Street>>>> Neutral Bay 2089>>>> Australia>>>> Phone +612 9908 2134>>>> Fax +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/>>> >>> >>> ------------------------------------------------------------->>> 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/> > > -------------------------------------------------------------> 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)
|
Aha... exactly! So my first post stands. I'm sure elseif is common in otherlanguages....Regards,Tim-- Tim RobinsonIDFK Web Developmentstim@idfk.com.au114a/40 Yeo StreetNeutral Bay 2089AustraliaPhone +612 9908 2134Fax +612 9908 4837> From: Andrew Simpson > Reply-To: (WebDNA Talk)> Date: Thu, 6 Mar 2003 15:04:29 +1300> To: (WebDNA Talk)> Subject: Re: [ELSEIF] was hideif [x]=1,2,3..:> > except you can probably only do single comparisons per case statement rather> than the multiple or's and ands you get with an if.> > > > ----- Original Message -----> From: Tim Robinson > To: WebDNA Talk > Sent: Thursday, March 06, 2003 2:59 PM> Subject: Re: [ELSEIF] was hideif [x]=1,2,3..:> > >> I remember seeing that before, but I've certainly never used it... looks>> like it should do the same thing.>> >> Regards,>> Tim>> -->> Tim Robinson>> IDFK Web Developments>> tim@idfk.com.au>> 114a/40 Yeo Street>> Neutral Bay 2089>> Australia>> Phone +612 9908 2134>> Fax +612 9908 4837>> >>> From: Andrew Simpson >>> Reply-To: (WebDNA Talk)>>> Date: Thu, 6 Mar 2003 14:58:50 +1300>>> To: (WebDNA Talk)>>> Subject: Re: [ELSEIF] was hideif [x]=1,2,3..:>>> >>> ah - yep.>>> >>> [text]x=5[/text]>>> [Switch value=[x]]>>> [Case value=1]>>> The value of x was 1>>> [/Case]>>> [Case value=2]>>> The value of x was 2>>> [/Case]>>> [Default]>>> The value of x was neither 1 nor 2; it was [x]>>> [/Default]>>> [/Switch]>>> >>> >>> >>> ----- Original Message ----->>> From: Tim Robinson >>> To: WebDNA Talk >>> Sent: Thursday, March 06, 2003 2:52 PM>>> Subject: [ELSEIF] was hideif [x]=1,2,3..:>>> >>> >>>> Talking about 'IF's, I don't know about anybody else, but doing a lot> of>>>> embedded IF contexts gets pretty confusing... wouldn't it be simpler to>>> add>>>> a 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 Robinson>>>> IDFK Web Developments>>>> tim@idfk.com.au>>>> 114a/40 Yeo Street>>>> Neutral Bay 2089>>>> Australia>>>> Phone +612 9908 2134>>>> Fax +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/>>> >>> >>> ------------------------------------------------------------->>> 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/> > > -------------------------------------------------------------> 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:
Web requests in que... (2007)
Sum of [founditems] ? (2004)
WebCatalog not recognizing ShoppingCarts folder (2000)
orders with blanks or [xxx] literal text (2000)
.htaccess to make WebDNA serve HTML (2007)
Re[2]: Problem with new formvariables (2000)
CT Scan might have saved my life!! (2006)
restart needed???? (1997)
Multiple fields on 1 input (1997)
docs for WebCatalog2 (1997)
[WebDNA] Problem Retrieving data out of MySQL (2013)
Great product and great job ! (1997)
Quickie question on the email templates (1997)
Bug Report, maybe (1997)
Another question (1997)
financial calculation (2000)
[WebDNA] agree? --> [url] broken inside [redirect], on a square-bracket-style include, included from a XML-style page (2009)
AAgghh!! Help, please. SSL strikes again. (1997)
[TaxableTotal] - not working with AOL and IE (1997)
possible, WebCat2.0 and checkboxes-restated (1997)