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 zx*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 7x*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:
>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 zx*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 7x*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:
Line items in table cells (1997)
WebDNA for Dummies (was: WebDNA portability) (2007)
Does TCPconnect/TCPsend do multiples? (2000)
Help formatting search results w/ table (1997)
WebCat2 - [format thousands] (1997)
Shopping Cart ID (1998)
problem serving foreign languages text (1997)
docs for WebCatalog2 (1997)
WebCatalog2 Feature Feedback (1996)
upload pictures any solution (1999)
Reserved Words (2000)
Math (1997)
Emailer setup (1997)
japanese characters (1997)
WebCat2_Mac RETURNs in .db (1997)
Exclamation point (1997)
shipcost and Formulas.db (2000)
[shell] (2002)
Max Record length restated as maybe bug (1997)
Number of Line Items (1998)