Re: Bug with periods in [math] variable names

This WebDNA talk-list message is from

2001


It keeps the original formatting.
numero = 37575
interpreted = N
texte = >IMHO it is rather lame to develop software that cannot adhere to a few simpleAlways a pleasure to read your messages, KG.>1- Math variable names have limited string lengths, while no other variables have this limitation.The math routines are based on a publicly-distributed library which has these limitations built in. We extended the length of variable names per user requests, but could not get around the fact that they are fixed-length. Someone would have complained even if we limited them to 255 chars, so we set a reasonable length, and moved on to more important things.>2- Math variable names cannot include anything except alphabetical characters or numeric digits, but no other variables have this limitation.As any programming language will do: the ambiguity introduced when you start putting math operator characters in the middle of variable names makes it very difficult to parse equations correctly.x*y*z := multiply variable x times variable y times variable z x*y*z != multiply variable named x*y times variable z>3- Math variable names cannot begin with a numeric digit, yet no other variables have this limitation.x*7 := multiply variable x times the number 7 x*7y :: is it x*7 followed by y, or is it x times variable 7y------------------------------------------------------------- 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:

    
  1. Re: Bug with periods in [math] variable names (Rob Marquardt 2001)
  2. Re: Bug with periods in [math] variable names (Grant Hulbert 2001)
  3. Re: Bug with periods in [math] variable names (Kenneth Grome 2001)
  4. Re: Bug with periods in [math] variable names (John Peacock 2001)
  5. Bug with periods in [math] variable names (Rob Marquardt 2001)
>IMHO it is rather lame to develop software that cannot adhere to a few simpleAlways a pleasure to read your messages, KG.>1- Math variable names have limited string lengths, while no other variables have this limitation.The math routines are based on a publicly-distributed library which has these limitations built in. We extended the length of variable names per user requests, but could not get around the fact that they are fixed-length. Someone would have complained even if we limited them to 255 chars, so we set a reasonable length, and moved on to more important things.>2- Math variable names cannot include anything except alphabetical characters or numeric digits, but no other variables have this limitation.As any programming language will do: the ambiguity introduced when you start putting math operator characters in the middle of variable names makes it very difficult to parse equations correctly.x*y*z := multiply variable x times variable y times variable z x*y*z != multiply variable named x*y times variable z>3- Math variable names cannot begin with a numeric digit, yet no other variables have this limitation.x*7 := multiply variable x times the number 7 x*7y :: is it x*7 followed by y, or is it x times variable 7y------------------------------------------------------------- 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/ Grant Hulbert

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:

Location of Browser Info.txt file (1997) Where is f2? (1997) Custom WebCat Prefs ... (1997) [WebDNA] talklist archives don't search/find recent posts? (2008) docs for WebCatalog2 (1997) WCS Newbie question (1997) Page-Execution-Timer...PHP vs WebDNA (2004) duplicate cart numbers (2002) Re1000001: Setting up shop (1997) multi-paragraph fields (1997) fileinfo syntax undocumented (2000) Pithy questions on webcommerce & siteedit (1997) Generating Pages (1999) Alternating colors (1997) date format (another question) (2000) Adding discount to cart (2000) Universal root for WC errors? (1997) HomePage Caution (1997) Https not showing products (2004) server not running. (2003)