Re: strange math
This WebDNA talk-list message is from 2004
It keeps the original formatting.
numero = 56974
interpreted = N
texte = Without the var1 and var2 values there's no way to debug it. What are these values? Are you *sure* they are always valid numbers?>code:>>var1=[var1]
>var2=[var2]
>total= [math][var1]+[var2][/math]
>total2= [math][var2]+[var1][/math]>>results are:>>var1=1>var2=>total=>total2= 1>>or:>>var1=>var2=1>total=1>total2=>>or:>>var1=1>var2=1>total=2>total2=2>>shouldn'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/-- Kenneth GromeWebDNA ProgrammerOutsource Service ProviderPhone: +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/
Associated Messages, from the most recent to the oldest:
Without the var1 and var2 values there's no way to debug it. What are these values? Are you *sure* they are always valid numbers?>code:>>var1=[var1]
>var2=[var2]
>total= [math][var1]+[var2][/math]
>total2= [math][var2]+[var1][/math]>>results are:>>var1=1>var2=>total=>total2= 1>>or:>>var1=>var2=1>total=1>total2=>>or:>>var1=1>var2=1>total=2>total2=2>>shouldn'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/-- Kenneth GromeWebDNA ProgrammerOutsource Service ProviderPhone: +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/
Kenneth Grome
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:
OPEN MARKET PATENTS SOUND ECOMMERCE ALARM (1998)
Sitebuilder (2004)
Auto Unsubscribe (2000)
Associative lookup style? (1997)
Re:2nd WebCatalog2 Feature Request (1996)
RE: [WebDNA] Max files size (2011)
NT Manual (1997)
Narrowing NT Crashing error (2000)
Help name our technology! (1997)
Emails sent twice (2000)
[WebDNA] Authorize.net SIM, Server Integration Method (2011)
WebDelivery: One step closer !! (1997)
nesting limits? (1998)
BUG in [showif] using ^ (contains) (1997)
My web page only... (2003)
Separate SSL Server (1997)
[WebDNA] test post (2011)
Re[3]: Weird [blank] interpretation (1999)
Logging purchases (1997)
virus alert; Jdbgmgr.exe (2003)