Re: strange math
This WebDNA talk-list message is from 2004
It keeps the original formatting.
numero = 56972
interpreted = N
texte = code:var1=[var1]
var2=[var2]
total= [math][var1]+[var2][/math]
total2= [math][var2]+[var1][/math]results are:var1=1var2=total=total2= 1or:var1=var2=1total=1total2=or:var1=1var2=1total=2total2=2shouldn't the last 2 lines of code always provide the same result no matter what order they are listed inside the [math][/math] tags?On Thursday, March 18, 2004, at 07:12 AM, Kenneth Grome wrote:>> Thanks Kenneth, but the space before var2 was just a typo in the >> e-mail.>> There is no space in the actual code of the file.>> The code is still not adding, should I be initializing the variables >> somehow?>> thanks,>> sfb>> Why don't you post your actual webdna code (no html) and then we can > see better what's possibly wrong ...>> -- >> Kenneth Grome> WebDNA Programmer> Outsource Service Provider> Phone: +6332 255-6591>> -------------------------------------------------------------> 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:
code:var1=[var1]
var2=[var2]
total= [math][var1]+[var2][/math]
total2= [math][var2]+[var1][/math]results are:var1=1var2=total=total2= 1or:var1=var2=1total=1total2=or:var1=1var2=1total=2total2=2shouldn't the last 2 lines of code always provide the same result no matter what order they are listed inside the [math][/math] tags?On Thursday, March 18, 2004, at 07:12 AM, Kenneth Grome wrote:>> Thanks Kenneth, but the space before var2 was just a typo in the >> e-mail.>> There is no space in the actual code of the file.>> The code is still not adding, should I be initializing the variables >> somehow?>> thanks,>> sfb>> Why don't you post your actual webdna code (no html) and then we can > see better what's possibly wrong ...>> -- >> Kenneth Grome> WebDNA Programmer> Outsource Service Provider> Phone: +6332 255-6591>> -------------------------------------------------------------> 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/
sbraun
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:
URGENT: NO BUG, woFIELDdata & FIELDword=ww (2002)
Size limit for tmpl editor ? (1997)
shipcost (1997)
RE: Subtotal help (1997)
japanese characters (1997)
Webcat/Webmerchant (1998)
[WebDNA] maybe silly suggestion? [founditems] (2015)
System 8.5.1 question (1999)
cookies OSX Jaguar IE5.2 (2002)
[carts] and databases (1997)
You can't buy something twice... (1997)
Lookup Notfound (1998)
[WebDNA] PROTECT (2017)
WebCatalog2 Feature Feedback (1996)
Car Database (2002)
Trouble with formula.db (1997)
WC2b15 File Corruption (1997)
problem with NT beta (1997)
ElseIf Statements? (2005)
WebCatalog for guestbook ? (1997)