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:
> 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:
[WebDNA] search command problem (2009)
Question about [encrypt] (1998)
Email troubles (2005)
RE: [WebDNA] Installing WebDNA on Windows 7 64 Bit, Home Premium (2010)
I'm tired of all this! (2000)
RE: Adding a product from another site (1997)
Pithy questions on webcommerce & siteedit (1997)
[ot] Any One Want A WebDNA Billing Program? (2003)
RE: Re:Signal Raised (1997)
[WebDNA] maybe silly suggestion? [founditems] (2015)
Currency Conversion (2003)
Calculating Shipping (1997)
free shipping (2000)
[WebDNA] Using webdna to automate ftp on a Windows server (2012)
Multiple cart additions (1997)
$append (1998)
Was it something I said??? (1998)
FEA REQ: One .hdr, multiple .db's (2003)
File Upload (1997)
Expert tech support -- a fast and simple solution (long) ... (2000)