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:

Shared databases (2003) Running 2 two WebCatalog.acgi's (1996) Transferring textareas (1997) SSL and WebCatalog (1997) Summing fields (1997) Share cost of training videos! (1998) Using Plug-In while running 1.6.1 (1997) insert graphic in email (2000) Plain Language Manual? (1998) Just a thought (1998) Has ANYONE gotten the [object] context to work with Java(OSX) ??? HELP! (2002) Out of the woodwork (2007) Stop the madness. (1997) WebCatalog for Postcards ? (1997) [sendmail] and [formvariables] (1997) WebCat vs MS SiteServer? (1999) Re:listfiles-looking for slick solution (1997) [OT] OSX 3D-Secure support (2006) Secure server question (1997) Calculating multiple shipping... (1997)