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:
E-Mail (1998)
Problems when user hit back (2000)
Giving out error pages (1997)
Snake Bites (1997)
WCS Newbie question (1997)
[WebDNA] incomplete redirect tag (2009)
Date problems-more (1997)
WebCat2b13MacPlugIn - [include] doesn't allow creator (1997)
Case sensitivity and [showif] (1999)
Help! WebCat2 bug (1997)
[WebDNA] contents of db files disappearing including triggers.db (2019)
RealAudio .ram files (2000)
Error: Too many nested [xxx] contexts (1997)
WebCat2b15MacPlugin - showing [math] (1997)
[WebDNA] RESTART WebDNA (2016)
multi-paragraph fields (1997)
Out of the woodwork (2007)
Probably a very simple question? (1997)
Frames and WebCat (1997)
[shownext] not displaying anything but first indices found (2000)