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:
problems with 2 tags (1997)
[Replace] (2000)
(no subject) (2000)
Showif Error Generated... (2003)
PCS Emailer's role ? (1997)
[OT] See Flash? (2003)
Encryption method used for [encrypt]? (2000)
decrypt and summ problems (1999)
pop up menu's (1998)
RE: Include (1998)
WebDNA 4.5.1 Now Available (2003)
talking to MacAuthorize (1997)
Install Webcatalog under NT4.0 and Microsoft IIS 2.0 (1997)
Re:2nd WebCatalog2 Feature Request (1996)
auto-stripping of spaces (1997)
Re:my First Ship table (1998)
EIMS Problems (1997)
WCS Newbie question (1997)
Frames and WebCat (1997)
[WebDNA] Ubuntu 14.04 & WebDNA 8.2 (html not rendering) (2017)