Re: if then logic
This WebDNA talk-list message is from 2005
It keeps the original formatting.
numero = 62941
interpreted = N
texte = Actually the [buy.x] is the variable name and its working ok. but the saveitem.x is not, even though its variable is 0the statement says if "buy.x" is 0 OR if "saveitem.x" is 0, which it is, then perform the operation> [if ([buy.x]>0)|([saveitem.x]=0)]>> if ([buy.x]>0)|(0=0)>On Sep 7, 2005, at 6:38 PM, Donovan Brooke wrote:> The problem is that it is an "invalid" statement> (because "[buy.x]" is not a valid math comparison... so> you will always get the false answer.>-------------------------------------------------------------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 the [buy.x] is the variable name and its working ok. but the saveitem.x is not, even though its variable is 0the statement says if "buy.x" is 0 OR if "saveitem.x" is 0, which it is, then perform the operation> [if ([buy.x]>0)|([saveitem.x]=0)]>> if ([buy.x]>0)|(0=0)>On Sep 7, 2005, at 6:38 PM, Donovan Brooke wrote:> The problem is that it is an "invalid" statement> (because "[buy.x]" is not a valid math comparison... so> you will always get the false answer.>-------------------------------------------------------------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/
Bob Minor
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:
Errata: WCS Newbie question (1997)
Email within tmpl ? (1997)
Javascript and Pull Down menus (1999)
Variables for chat (1997)
Missing contexts on NT (1997)
QuitFeedback & DBNotOpened errors (1997)
Templates on Unix & CGI on Mac? (1997)
Date Comparison (1998)
[delete] problem (1997)
Is it possible to pause or wait a process (2000)
WebCat2 beta 11 - new prefs ... (1997)
[shippingtotal] & Formulas.db prob (2003)
error count with $purchase (1997)
selectively replacing records within a [founditems] (2000)
All choices on IE different than Netscape (1997)
[WebDNA] [OT] the "Work in progress" thread. (2009)
WebCat2b13MacPlugIn - syntax to convert date (1997)
xmlparse and utf-8 encoding (2006)
Upgrading old WebCat Database Files (1997)
WCS Newbie question (1997)