Re: Another IfThenElse question..
This WebDNA talk-list message is from 2003
It keeps the original formatting.
numero = 54216
interpreted = N
texte = The problem is that ([balance]>0) throws an exception in the equation parserin the case where balance is NULL (has no value), which is excepted.Try this:[if (0[BALANCE]>0)|("[BALANCE]"="")] ^Note that the 0 padding ensures that there is a valid equation to parse.-----Original Message-----From: Donovan Brooke [mailto:dbrooke@euca.us]Sent: Tuesday, November 18, 2003 10:11 AMTo: WebDNA TalkSubject: Another IfThenElse question..Hello,I seem to have trouble understanding the or comparison in theif then else. Can someone explain why this comparison belowis initiating the [else] part?http://www.euca.us/admin/tests/ifthenelse.tplThanks,Donovan-- =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 toWeb 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:
The problem is that ([balance]>0) throws an exception in the equation parserin the case where balance is NULL (has no value), which is excepted.Try this:[if (0[BALANCE]>0)|("[BALANCE]"="")] ^Note that the 0 padding ensures that there is a valid equation to parse.-----Original Message-----From: Donovan Brooke [mailto:dbrooke@euca.us]Sent: Tuesday, November 18, 2003 10:11 AMTo: WebDNA TalkSubject: Another IfThenElse question..Hello,I seem to have trouble understanding the or comparison in theif then else. Can someone explain why this comparison belowis initiating the [else] part?http://www.euca.us/admin/tests/ifthenelse.tplThanks,Donovan-- =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 toWeb 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/
Scott Anderson
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:
Logging purchases (1997)
Re:Copyright ? (1997)
writefile to create static pages (2003)
Updating a database once per day - An example (1998)
Not really WebCat (1997)
using showpage and showcart commands (1996)
Out of the woodwork (2007)
Separate SSL Server (1997)
Loss in Form (1998)
.db-tmp (2000)
WebCat2b13MacPlugIn - [include] (1997)
searchable list archive (1997)
Alternating colors (1997)
Carrying Forward (1998)
WebCommerce: Folder organization ? (1997)
Secure Server (1997)
Database Structure? (1998)
Another question about credit cards (1997)
Help name our technology! I found it (1997)
I'm new be kind (1997)