Re: What abobut variables named max ???

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 29268
interpreted = N
texte = on 3/19/2000 1:54 PM, Kenneth Grome at ken@simplewebstores.com wrote:>> SM, >> >> Why can't I create a text or math variable named max? >> Why does a [max] tag return a preset value of zero? >> >> What other variables names are preset internally? >> Why isn't this behavior documented? > > > I learned more about this issue. It seems I can set a variable named max to > a value of 9 before a search context, and it keeps the value of 9 > everywhere on the page *except* inside the search context, where it changes to > a value of 0 for some unknown (and undocumented) reason. > > What's going on here? All I'm trying to do is use: > > [showif [numfound]>[max]] > Show more items ...
> [shownext] > [/shownext] > [showif] > > inside my search context in order to show or hide the enclosed text and webdna > code. So why is webcatalog changing my preset max variable value from 9 to > 0 in this code? > > And why is this behavior not documented? > > Or is this just another bug in your software? > Ken, within a search, max is a parameter of the search. &max=20 for example. It would make sense not to use variables with names such as max, append, replace, delete, shownext, startat, AllReqd, group1field, AllHit, AllCase, allBLNK etc.Mike ------------------------------------------------------------- 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 Associated Messages, from the most recent to the oldest:

    
  1. Re: What abobut variables named max ??? (Kenneth Grome 2000)
  2. Re: What abobut variables named max ??? (John Butler 2000)
  3. Re: What abobut variables named max ??? (Mike Davis 2000)
  4. Re: What abobut variables named max ??? (Kenneth Grome 2000)
  5. Re: What abobut variables named max ??? (Glenn Busbin 2000)
  6. Re: What abobut variables named max ??? (Kenneth Grome 2000)
  7. Re: What abobut variables named max ??? (Jesse Proudman 2000)
  8. What abobut variables named max ??? (Kenneth Grome 2000)
on 3/19/2000 1:54 PM, Kenneth Grome at ken@simplewebstores.com wrote:>> SM, >> >> Why can't I create a text or math variable named max? >> Why does a [max] tag return a preset value of zero? >> >> What other variables names are preset internally? >> Why isn't this behavior documented? > > > I learned more about this issue. It seems I can set a variable named max to > a value of 9 before a search context, and it keeps the value of 9 > everywhere on the page *except* inside the search context, where it changes to > a value of 0 for some unknown (and undocumented) reason. > > What's going on here? All I'm trying to do is use: > > [showif [numfound]>[max]] > Show more items ...
> [shownext] > [/shownext] > [showif] > > inside my search context in order to show or hide the enclosed text and webdna > code. So why is webcatalog changing my preset max variable value from 9 to > 0 in this code? > > And why is this behavior not documented? > > Or is this just another bug in your software? > Ken, within a search, max is a parameter of the search. &max=20 for example. It would make sense not to use variables with names such as max, append, replace, delete, shownext, startat, AllReqd, group1field, AllHit, AllCase, allBLNK etc.Mike ------------------------------------------------------------- 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 Mike Davis

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:

New Plug-in and Type 11 errors (1997) auto-stripping of spaces (1997) Help! WebCat2 bug (1997) Multiple catalog databases and showcart (1997) [WebDNA] Pretty URLS (2011) HELP! Search finding too much! (1998) CSS in HTML emails? (2003) Two prices in shoppingcart? (1997) [LOOKUP] (1997) WebCatalog 2.0 & WebDNA docs in HTML ... (1997) URGENT - CPU usage OSXS (2001) Re:WebMerchant 3.0 for Mac shipping now (1998) Nested tags count question (1997) find with exceptions (1997) FM fields with CR - How to export/import? (2000) [WebDNA] Good advise on [Showif] or alternative... (2012) price totals (2003) Multiple prices (1997) Separate SSL Server (1997) cookies ok ??? (2006)