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 get rid 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 sense to me. What is [start_year] doing with _sales_1=... What are you trying to accomplish there?[math]newvar=[format thousands .2f][math show=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:

    
  1. Re: Variable in a variable (Kenneth Grome 2002)
  2. Re: Variable in a variable (Tim Robinson 2002)
  3. Re: Variable in a variable (Tim Robinson 2002)
  4. Re: Variable in a variable (Gary Krockover 2002)
  5. Re: Variable in a variable (Gary Krockover 2002)
  6. Re: Variable in a variable (Kenneth Grome 2002)
  7. Re: Variable in a variable (dale's stuff 2002)
  8. Re: Variable in a variable (Gary Krockover 2002)
  9. Re: Variable in a variable (Inkblot Media 2002)
  10. Variable in a variable (Tim Robinson 2002)
If you are trying to set 'Start_year' as your new variable, you need to get rid 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 sense to me. What is [start_year] doing with _sales_1=... What are you trying to accomplish there?[math]newvar=[format thousands .2f][math show=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:

List Address Changed! (1998) Return records from another (1997) [WebDNA] Paypal Sandbox TCPConnect (2012) Header Values won't take. (1998) WebDelivery downloads alias, not original ? (1997) Preserving form data (1999) lookup (1998) Possible Shownext from Listfiles???? (2000) WebCat2 - Getting to the browser's username/password data (1997) Possible Bug in 2.0b15.acgi (1997) breaking & sorting (2000) Webcatalog quitting (1997) flushdatabases (1997) UPS tracking number (2003) Word-And searches (2000) Setting variables. (1998) Delete tag (2000) FREE Web Server Monitor FREE (1997) Help name our technology! (1997) No Line Breaks Appearing (2000)