Re: Variable in a variable
This WebDNA talk-list message is from 2002
It keeps the original formatting.
numero = 45948
interpreted = N
texte = If you are trying to set 'Start_year' as your new variable, you need to getrid of the [][math show=T]START_YEAR=calculations here[/Math]If you want the variable to contain the formatted value, wrap another[math][/math] outside of the format. Cause your example doesn't make senseto me. What is [start_year] doing with _sales_1=... What are you trying toaccomplish there?[math]newvar=[format thousands .2f][mathshow=t]calculation[/math][/format][/math]Hope this helps.On 12/4/2002 4:28 AM, Tim Robinson
wrote:> I'm trying to name a math variable using an exiting variable [START_YEAR]> (which is just the year say 2002).> > [Format thousands .2f][math show=T][START_YEAR]_SALES_1=[Sum> field=sale_total][/Math][/Format]> > But it doesn't create the variable. When I do a listvariables, it aint> there, but [start_year} is.....> > Any ideas?> > Regards,> Tim-------------------------------------------------------------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:
If you are trying to set 'Start_year' as your new variable, you need to getrid of the [][math show=T]START_YEAR=calculations here[/Math]If you want the variable to contain the formatted value, wrap another[math][/math] outside of the format. Cause your example doesn't make senseto me. What is [start_year] doing with _sales_1=... What are you trying toaccomplish there?[math]newvar=[format thousands .2f][mathshow=t]calculation[/math][/format][/math]Hope this helps.On 12/4/2002 4:28 AM, Tim Robinson wrote:> I'm trying to name a math variable using an exiting variable [START_YEAR]> (which is just the year say 2002).> > [Format thousands .2f][math show=T][START_YEAR]_SALES_1=[Sum> field=sale_total][/Math][/Format]> > But it doesn't create the variable. When I do a listvariables, it aint> there, but [start_year} is.....> > Any ideas?> > Regards,> Tim-------------------------------------------------------------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/
dale's stuff
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:
ShowIf helper? (1998)
Db design question (relational vs. flat?) (1998)
details (2003)
minimalist shopping cart. (1997)
Re:Emailer and encryption (1997)
Generating Report Totals (1997)
[OT] Startin' sumthin' again - Python, anyone tried it? (2006)
Newspaper Portal (2005)
Calculating multiple shipping... (1997)
Exclamation point (1997)
(1997)
WebDNA for Dummies (2007)
What are SMSI's upgrade policies? (2003)
Bug? (1997)
b18 problem on NT 4.0 (1997)
WebCatalog2 Feature Feedback (1996)
WebCatalog/WebMerchant Manuals Available (1998)
WCS Newbie question (1997)
WC2b15 File Corruption (1997)
ACGI processing for .html (1997)