Re: [ELSEIF] was hideif [x]=1,2,3..:

This WebDNA talk-list message is from

2003


It keeps the original formatting.
numero = 48428
interpreted = N
texte = or use the case context.do we have one of those at our disposal? ----- 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/ Associated Messages, from the most recent to the oldest:

    
  1. Re: [ELSEIF] was hideif [x]=1,2,3..: (Andrew Simpson 2003)
  2. Re: [ELSEIF] was hideif [x]=1,2,3..: (Tim Robinson 2003)
  3. Re: [ELSEIF] was hideif [x]=1,2,3..: (Andrew Simpson 2003)
  4. Re: [ELSEIF] was hideif [x]=1,2,3..: (Tim Robinson 2003)
  5. Re: [ELSEIF] was hideif [x]=1,2,3..: (Andrew Simpson 2003)
  6. Re: [ELSEIF] was hideif [x]=1,2,3..: (Andrew Simpson 2003)
  7. [ELSEIF] was hideif [x]=1,2,3..: (Tim Robinson 2003)
or use the case context.do we have one of those at our disposal? ----- 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/ Andrew Simpson

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:

Memorial Day Weekend (2003) Emailer setup (1997) Misc Stuff That Might Help (1997) [WebDNA] TCPconnect and Bitcoin rate (2019) Webcatalog 4.01 and Webstar 4.2.1, is it OK? (2000) RE: Loss in form (1998) Header Values won't take. (1998) [listfiles] (2004) Interfacing WebMerchant to www.fedex.com (1997) Shopping cart not being assigned (1999) Mac & Internet Explorer (2000) Form/HTML Help (2000) More on the email templates (1997) [math] oddness .. (2002) template includes encrypted template (1999) Initiating NewCart (1997) Too Much Rootbeer Free Offer (1997) [WebDNA] XML Help (2009) Date formats and sandboxes (2004) New WebCatalog Version !!! (1997)