Re: If Else Statement...
This WebDNA talk-list message is from 2004
It keeps the original formatting.
numero = 59596
interpreted = N
texte = Hmm, this looks OK to me??? looks like a value of "6" should geta disccountfactor of 20.DonovanAlan 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:
Hmm, this looks OK to me??? looks like a value of "6" should geta disccountfactor of 20.DonovanAlan 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:
fresh eyes needed. Append won't work. (2000)
Re:Emailer and encryption (1997)
Cold Fusion Buster (1997)
[SHOWIF AND/OR] (1997)
WebCat2b15MacPlugin - showing [math] (1997)
code to phantom spacing (2001)
Problems with [Applescript] (1997)
NT vs Mac (1997)
taxrate - off by 1 cent (1997)
[OT] XML Primer (2004)
Firesite Round 2 (1999)
[WebDNA] WebDNA in a [TEXT] variable (2013)
What am I missing (1997)
Encoding information to send through TCPConnect (1999)
Subtotals (1999)
Sending E-mail (1997)
webcat2b12 CGI -- Date comparisons (1997)
[/application] error? (1997)
[BULK] [WebDNA] A new commerce system for v7+ (2011)
RE: WebCatalog2 for NT Beta Request (1997)