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)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:
:-),Actually, on second look, I found your syntax error. [if (([discountMod]>=3)(so if you fix that it would work)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:
system crashes, event log (1997)
WebCat2b15MacPlugin - showing [math] (1997)
[WebDNA] =?utf-8?B?SG9zdGluZyBmb3IgYSBjdXN0b21lciBvZiBtaW5l?= (2012)
[searchString] (1997)
Re:2nd WebCatalog2 Feature Request (1996)
lookup problem (2000)
newcart (1997)
OS Limitations (1998)
Search context not finding recent entries (1998)
[WebDNA] Yosemite (2015)
when is date system date or order date? (1997)
Help! WebCat2 bug (Ben's input) (1997)
carriage returns in data (1997)
Bug Report, maybe (1997)
block serving .db files (2002)
How to search for fields with 10 or more characters? (2004)
Great product and great job ! (1997)
[OT] Appropriate Signature??? (2003)
Showing Results Alphabetically in Columns (top to bottom) (2002)
[OT] Startup E-Mail (2000)