Re: If Else Statement...

This WebDNA talk-list message is from

2004


It keeps the original formatting.
numero = 59613
interpreted = N
texte = > 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)? how about a [switch]?! > > [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 > > ------------------------------------------------------------- > 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: 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)
> 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)? how about a [switch]?! > > [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 > > ------------------------------------------------------------- > 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/ "kalin mintchev"

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:

Search for dates greater than [date] (1997) WCS Newbie question (1997) NT - Thanks and Taxes (1997) Fwd: Image Pirating [protecting against] (2003) NT Version on IIS 4.0 (1997) Templates on Unix & CGI on Mac? (1997) Deleting Orders (1997) Form Problem with ! (2000) WCS Newbie question (1997) Scratch & Win (1999) Re:listfiles-looking for slick solution (1997) Sorting by date (1997) WebCat2b13MacPlugIn - [shownext method=post] ??? (1997) Fun with Dates - finally resolved but.... (1997) [BoldWords] WebCat.acgib15Mac (1997) Check boxes (1997) WC2b15 File Corruption (1997) Can't use old cart file (was One more try) (1997) LOOP and IF statements (1997) Subtotal Not Calculated on Invoice.html (1998)