Re: Variable in a variable

This WebDNA talk-list message is from

2002


It keeps the original formatting.
numero = 45955
interpreted = N
texte = Aha. Yes, it's in the docs. At least that answer my question as to why it works for text and not math.... can't really think of any good reason why it must start with a letter though....Regards, Tim -- Tim Robinson IDFK Web Developments tim@idfk.com.au 114a/40 Yeo Street Neutral Bay 2089 Australia Phone +612 9908 2134 Fax +612 9908 4837> From: Kenneth Grome > Reply-To: (WebCatalog Talk) > Date: Wed, 4 Dec 2002 11:42:32 > To: (WebCatalog Talk) > Subject: Re: Variable in a variable > >> 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..... > > Math variable names have length limits, something like 12 or 14 > characters -- and they cannot begin with numeric digits. You have > broken one or both of these rules ... > > > Sincerely, > Kenneth Grome > > --------------------------------------------------- > WebDNA Professional Training and Development Center > 175 J. Llorente Street +63 (32) 255-6921 > Cebu City, Cebu 6000 kengrome@webdna.net > Philippines http://www.webdna.net > --------------------------------------------------- > > ------------------------------------------------------------- > 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:

    
  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)
Aha. Yes, it's in the docs. At least that answer my question as to why it works for text and not math.... can't really think of any good reason why it must start with a letter though....Regards, Tim -- Tim Robinson IDFK Web Developments tim@idfk.com.au 114a/40 Yeo Street Neutral Bay 2089 Australia Phone +612 9908 2134 Fax +612 9908 4837> From: Kenneth Grome > Reply-To: (WebCatalog Talk) > Date: Wed, 4 Dec 2002 11:42:32 > To: (WebCatalog Talk) > Subject: Re: Variable in a variable > >> 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..... > > Math variable names have length limits, something like 12 or 14 > characters -- and they cannot begin with numeric digits. You have > broken one or both of these rules ... > > > Sincerely, > Kenneth Grome > > --------------------------------------------------- > WebDNA Professional Training and Development Center > 175 J. Llorente Street +63 (32) 255-6921 > Cebu City, Cebu 6000 kengrome@webdna.net > Philippines http://www.webdna.net > --------------------------------------------------- > > ------------------------------------------------------------- > 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/ Tim Robinson

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:

Simple way to create unique SKU (1997) WebCatalog for Postcards ? (1997) Rendering out a page (1997) Commitdatabase tag (1998) Snake Bites (1997) Quickie question on the email templates (1997) [TaxableTotal] - not working with AOL and IE (1997) Final invoice problems (1998) Seeking Better Display of results... (1997) READFILE command? (1998) WCS Newbie question (1997) RequiredFields notes ... (1997) Generating Report Totals (1997) Not really WebCat (1997) [ShowNext] feature in 2.0 (1997) OS X permissions to write to Globals directory (2003) Sort Order on a page search (1997) japanese characters (1997) RE: Problems reading files created by WC (1997) How do I get Google to crawl a WebCat site? (2003)