Re: If Else Statement...

This WebDNA talk-list message is from

2004


It keeps the original formatting.
numero = 59598
interpreted = N
texte = :-), Actually, on second look, I found your syntax error. [if (([discountMod]>=3) (so if you fix that it would work) Donovan Alan White wrote: > Hi folks... > > Can anyone see why a discountMod of 6 or above would be getting a > discountFactor of 15 (or a cleaner way of doing this)? > > [if [discountMod]<2] > [then][text show=f]discountFactor=5[/text][/then] > [else] > [if [discountMod]=2] > [then][text]discountFactor=10[/text][/then] > [else] > [if (([discountMod]>=3) & ([discountMod]<6))] > [then][text show=f]discountFactor=15[/text][/then] > [else] > [if [discountMod]>5] > [then][text > show=f]discountFactor=20[/text][/then] > [/if] > [/else] > [/if] > [/else] > [/if] > [/else] > [/if] > > TIA > Alan > -- =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, and Pre-Press Consultation -> 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 to Web Archive of this list is at: http://webdna.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: If Else Statement... ( "kalin mintchev" 2004)
  2. Re: If Else Statement... ( Brian Fries 2004)
  3. Re: If Else Statement... ( Donovan Brooke 2004)
  4. Re: If Else Statement... ( "kalin mintchev" 2004)
  5. Re: If Else Statement... ( Donovan Brooke 2004)
  6. Re: If Else Statement... ( Alan White 2004)
  7. Re: If Else Statement... ( Donovan Brooke 2004)
  8. Re: If Else Statement... ( Alan White 2004)
  9. Re: If Else Statement... ( Donovan Brooke 2004)
  10. Re: If Else Statement... ( Alan White 2004)
  11. If Else Statement... ( Alan White 2004)
:-), Actually, on second look, I found your syntax error. [if (([discountMod]>=3) (so if you fix that it would work) Donovan Alan White wrote: > Hi folks... > > Can anyone see why a discountMod of 6 or above would be getting a > discountFactor of 15 (or a cleaner way of doing this)? > > [if [discountMod]<2] > [then][text show=f]discountFactor=5[/text][/then] > [else] > [if [discountMod]=2] > [then][text]discountFactor=10[/text][/then] > [else] > [if (([discountMod]>=3) & ([discountMod]<6))] > [then][text show=f]discountFactor=15[/text][/then] > [else] > [if [discountMod]>5] > [then][text > show=f]discountFactor=20[/text][/then] > [/if] > [/else] > [/if] > [/else] > [/if] > [/else] > [/if] > > TIA > Alan > -- =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, and Pre-Press Consultation -> 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 to Web Archive of this list is at: http://webdna.smithmicro.com/ Donovan Brooke

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:Gil's in the lead (1999) Now you see it now you donīt (1997) Problems getting parameters passed into email. (1997) WCS Newbie question (1997) Emailer setup (1997) I'm new be kind (1997) [WebDNA] Installing WebDNA 7 on OSX Mavericks Server - Instructions (2014) Web Catalog 2 demo (1997) No Data Results (1997) URGENT: WebCatalog 2.0 (1998) Announcement-WebCatalog 2.0 Released (1997) Multiple Replaces? (1997) Searching multiple Databases (1997) all records returned. (1997) Web DNA... (2007) Help! WebCat2 bug (1997) CustomerType - WebDNA Variable (2004) Pricelist (1999) [WebDNA] Multiplication Math Test (2008) emailer w/F2 (1997)