Re: Math, Multiple Equasions and Show/Hide
This WebDNA talk-list message is from 1998
It keeps the original formatting.
numero = 15985
interpreted = N
texte = Ok so in that instance, this should work.[math][varib1]+[varib2][varib3]+[hideif [blah]=f]+5[/math][showif [discount]=none][math]math-5%[/math][/showif]Total=[math]-----Original Message-----From: John Hill
To: WebDNA-Talk@smithmicro.com Date: Thursday, February 12, 1998 8:37 AMSubject: Re: Math, Multiple Equasions and Show/Hide>Yes, you can have [showif] inside a math context. As for your earlierequation, it's fine except the 5%. 5% of what? If you can write out the mathfor the equation, it translates almost directly to the [math] context.>>John.>>>First, will this or how can I perform this equation in a math context>>>>[math show=f] [varib1]+[varib2]+[varib3]+[varib4]+5-5%[/math]>>>>I'm figuring I need to group these equations something like below>>[math show=f](([varib1]+[varib2]+[varib3]+[varib4])+5)-5%[/math]>>>>Also, can you use show's and hides inside a math context.>>>>[math show=f][showif [varib1]]>>[varib1]+[/showif][varib2]+[varib3]+[varib4]+5[hideif>>[discount]=f]-5%[/hideif][/math]>>>>Thank's>>Ray>>> John A. Hill, V.P. Marketing> Pacific Coast Software>eCommerce / Web Developer Tools> http://www.smithmicro.com>>>
Associated Messages, from the most recent to the oldest:
Ok so in that instance, this should work.[math][varib1]+[varib2][varib3]+[hideif [blah]=f]+5[/math][showif [discount]=none][math]math-5%[/math][/showif]Total=[math]-----Original Message-----From: John Hill To: WebDNA-Talk@smithmicro.com Date: Thursday, February 12, 1998 8:37 AMSubject: Re: Math, Multiple Equasions and Show/Hide>Yes, you can have [showif] inside a math context. As for your earlierequation, it's fine except the 5%. 5% of what? If you can write out the mathfor the equation, it translates almost directly to the [math] context.>>John.>>>First, will this or how can I perform this equation in a math context>>>>[math show=f] [varib1]+[varib2]+[varib3]+[varib4]+5-5%[/math]>>>>I'm figuring I need to group these equations something like below>>[math show=f](([varib1]+[varib2]+[varib3]+[varib4])+5)-5%[/math]>>>>Also, can you use show's and hides inside a math context.>>>>[math show=f][showif [varib1]]>>[varib1]+[/showif][varib2]+[varib3]+[varib4]+5[hideif>>[discount]=f]-5%[/hideif][/math]>>>>Thank's>>Ray>>> John A. Hill, V.P. Marketing> Pacific Coast Software>eCommerce / Web Developer Tools> http://www.smithmicro.com>>>
Ray Hatch
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:
Stat analyzer (1997)
hmmm (2006)
[ShowIf] and empty fields (1997)
[thisurl] (2004)
Attn:SMSI WebDNA Developers Edition (2002)
is 'template' a reserved webcat tag? (2000)
Alternating colors (1997)
WebCat2final1 crashes (1997)
Databases (2000)
problems with 2 tags shakur (1997)
Multiple download orders of the same product? (1997)
[regexp] will be renamed to [grep] in next release (2000)
Creating folders and deleting files (1997)
Upgrading old WebCat Database Files (1997)
Weird problems with [SHOWIF]s (1997)
searching illegal HTML (2002)
Clearing orders and database help! (1997)
[shownext] and descending order (1997)
[WebDNA] Cheers (2008)
Optimized (2000)