Re: variables in [addlineitem]

This WebDNA talk-list message is from

1998


It keeps the original formatting.
numero = 17388
interpreted = N
texte = >I am not sure yet when WebCat can use a defined variable and when not. >Is it somehow depending on the depth of nested context's?Math variables are only visible from within a [Math] context. Other information, such as [NumFound] is only available within the context that provides it (or deeper). You can see a discussion of this in the online docs at http://www.smithmicro.com/WebDNAReference/Contexts.html[NumFound] <-- meaningless, because it's not inside a [Search][Search blah] [NumFound] <-- has meaning here [/Search][Search] [Loop start=1&end=10] [NumFound] <-- means the same thing here, because it keeps looking 'outward' for [Search] [/Loop] [/Search][Search #1] [NumFound] <-- shows num found items from outer search [Search #2] [NumFound] <-- shows num found items from inner search [/Search] [/Search][math]fred=2*3[/math] . . . [math]fred[/math] <-- displays 6Technical Support | ==== eCommerce and Beyond ==== Pacific Coast Software | WebCatalog, WebMerchant, 11770 Bernardo Plaza Court | SiteEdit Pro, PhotoMaster, San Diego, CA 92128 | Typhoon 619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: variables in [addlineitem] (PCS Technical Support 1998)
  2. Re: variables in [addlineitem] (Kenneth Grome 1998)
  3. Re: variables in [addlineitem] (Peter Ostry 1998)
  4. Re: variables in [addlineitem] (Kenneth Grome 1998)
  5. variables in [addlineitem] (Peter Ostry 1998)
>I am not sure yet when WebCat can use a defined variable and when not. >Is it somehow depending on the depth of nested context's?Math variables are only visible from within a [math] context. Other information, such as [NumFound] is only available within the context that provides it (or deeper). You can see a discussion of this in the online docs at http://www.smithmicro.com/WebDNAReference/Contexts.html[NumFound] <-- meaningless, because it's not inside a [search][Search blah] [NumFound] <-- has meaning here [/Search][search] [Loop start=1&end=10] [NumFound] <-- means the same thing here, because it keeps looking 'outward' for [search] [/Loop] [/Search][Search #1] [NumFound] <-- shows num found items from outer search [Search #2] [NumFound] <-- shows num found items from inner search [/Search] [/Search][math]fred=2*3[/math] . . . [math]fred[/math] <-- displays 6Technical Support | ==== eCommerce and Beyond ==== Pacific Coast Software | WebCatalog, WebMerchant, 11770 Bernardo Plaza Court | SiteEdit Pro, PhotoMaster, San Diego, CA 92128 | Typhoon 619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com/ PCS Technical Support

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:

Protect vs Authenicate (1997) Generating Report Totals (1997) Shipping charges depending on tax rate? (1997) multi-paragraph fields (1997) NT - Thanks and Taxes (1997) Database changes (1998) [OT] IANA Special Use (2004) Template Encryption (1998) WebCatalog 4.0 has been released! (2000) Price and Formula.db (2002) formatting dates from a field ... (1997) WCS Newbie question (1997) creator code (1997) More than one db with the same namn (was: WC2f3) (1997) Alternating colors (1997) Other then credit cards-how? (1997) OT: a little server help needed (2003) [WebDNA] Pretty URLS (2011) SOLUTION.... Balancing randomness (2000) Frames (1997)