Re: if then logic
This WebDNA talk-list message is from 2005
It keeps the original formatting.
numero = 62931
interpreted = N
texte = I would try throwing a set of quotes around the = comparison. The math logic should work without them, but obviously it isn't, so try it with the quotes.On Sep 7, 2005, at 12:57 PM, Bob Minor wrote:> I have the following statement based on a button pushed:>> [if ([buy.x]>0)|([saveitem.x]=0)]> [then]bought[/then]> [else]wished[/else]> [/if]>> Here is my result, what is wrong with my picture.>> wished> buy.x=[buy.x]> saveitem.x=0> if ([buy.x]>0)|(0=0)>>> as you can see saveitem.x=0 yet the result from the statement is > wished.--Jesse ProudmanBlue Box Group, LLCp. +1.800.613.4305 x801e. jesse@blueboxgrp.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:
I would try throwing a set of quotes around the = comparison. The math logic should work without them, but obviously it isn't, so try it with the quotes.On Sep 7, 2005, at 12:57 PM, Bob Minor wrote:> I have the following statement based on a button pushed:>> [if ([buy.x]>0)|([saveitem.x]=0)]> [then]bought[/then]> [else]wished[/else]> [/if]>> Here is my result, what is wrong with my picture.>> wished> buy.x=[buy.x]> saveitem.x=0> if ([buy.x]>0)|(0=0)>>> as you can see saveitem.x=0 yet the result from the statement is > wished.--Jesse ProudmanBlue Box Group, LLCp. +1.800.613.4305 x801e. jesse@blueboxgrp.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/
Jesse Proudman
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)
can WC render sites out? (1997)
Changing price for a SLU based on options (size, etc.) (1997)
General WebCatalog Questions (1997)
WC2b15 File Corruption (1997)
Announce: Bug fix talk list (1999)
NewCart+Search with one click ? (1997)
Protect vs Authenicate (1997)
WebCat/CyberStudio Compatibility (1998)
Setting up shop (1997)
The List is Changing (1997)
WebCat for mass emailings (1997)
OFF-TOPIC: Check www.godaddy.com for me ... (2003)
Some ThankYou page problems (1997)
Newbie Question about a Logical AND in a show if statement.... (1999)
[WebDNA] BUG REPORT [MATH show=t] WebDNA 8.6.1 & 8.6.3 server (2019)
Nitro plugin? (1998)
users.db (1999)
WebCatalog2 Feature Feedback (1996)
How is it done? (1998)