Re: underscore in variable name
This WebDNA talk-list message is from 2000
It keeps the original formatting.
numero = 34915
interpreted = N
texte = It has nothing to do with the underscores and everything to do with thevariable name itself. Here, let me perform some magic: you were usinga math variable! According to Grant, the way that the parser operateslimits the length of math variables, but not text variables. Ken wasthe first to notice this; check the list archives. I believe the limitwas 16 characters, but don't quote me on it.HTHJohn Peacockblo wrote:> > Sometimes, after the debugging process of my templates, if something is> still not working, I try this:> > rename variables from my_stupid_variable to mystupidvariable;> > stripping the underscores makes everything work fine;> > it has happend 2 times this week;> > am I the only one?> > (I've not yet detected the pattern of this strange situation)> > (W* 3.0.2/Wcat 4, macos 8.6)-------------------------------------------------------------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://search.smithmicro.com/
Associated Messages, from the most recent to the oldest:
It has nothing to do with the underscores and everything to do with thevariable name itself. Here, let me perform some magic: you were usinga math variable! According to Grant, the way that the parser operateslimits the length of math variables, but not text variables. Ken wasthe first to notice this; check the list archives. I believe the limitwas 16 characters, but don't quote me on it.HTHJohn Peacockblo wrote:> > Sometimes, after the debugging process of my templates, if something is> still not working, I try this:> > rename variables from my_stupid_variable to mystupidvariable;> > stripping the underscores makes everything work fine;> > it has happend 2 times this week;> > am I the only one?> > (I've not yet detected the pattern of this strange situation)> > (W* 3.0.2/Wcat 4, macos 8.6)-------------------------------------------------------------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://search.smithmicro.com/
John Peacock
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:
I'm new be kind (1997)
WebCat2: Items xx to xx shown, etc. (1997)
serial number dishing (1997)
Nested tags count question (1997)
remove.htm from result (2005)
tcpconnect - username/password (2005)
Emailer Set Up (1997)
[Announce] Newest Commerce Site based on WebCatalog (1997)
Web*SSL and WebCatalog (1997)
WebCat2b12 forgets serial # (1997)
docs for WebCatalog2 (1997)
wrong input values? (1997)
Wanted: More Math Functions (or, Can You Solve This?) (1997)
WebDelivery (1998)
MASTER_STORE revision (2002)
WCS Newbie question (1997)
webCat craps httpd (2005)
new cart IDs being assigned somehow (1997)
Lookups (2000)
How to show via drop down menu? (2000)