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:
Database (2000)
restart needed???? (1997)
Problems with [Applescript] (1997)
RE:DatabaseHelper (1997)
Method=GET v Method=POST (2001)
Authenticate (1997)
Webmerchant 2.1.3 startup questions, please (1999)
Signal Raised Error (1997)
.. more on sliding discounts... (1997)
NT version (1997)
File Upload (1997)
[WebDNA] Query re: autonumber (2010)
Re:What file? (1997)
Re:2nd WebCatalog2 Feature Request (1996)
Out of the woodwork (2007)
HomePage Caution (1997)
RequiredFields template (1997)
Date as number and Cart partially explained (2001)
PCS Frames (1997)
WebCat2 beta 11 - new prefs ... (1997)