Re: [Case] on OS X
This WebDNA talk-list message is from 2000
It keeps the original formatting.
numero = 32704
interpreted = N
texte = >Would it be possible to add comparisons other than '=' to case statements? A>circumstance like greater than, less than, or equal to zero doesn't easily>fit without it, and [if][then[else] is cumbersome.I think I mentioned before that no language in the world that I know of supports such a concept, but we'll look into it. I can see some problems with multiple case statements matching the comparison at once. We went to great lengths to put [if]..[then]..[else] in because so many people were asking for it; I certainly hope at this late stage that people don't think it's too cumbersome.>Even if the additional comparisons can't be added, could this possibly be>modified to produce an error statement instead?Certainly we strive to make sure that syntax errors do not cause unwanted side-effects. We'll see if there's anything clear in the code that could prevent that kind of error.Grant Hulbert, Director of Engineering **********************************Smith Micro, Internet Solutions Div | eCommerce (WebCatalog)16855 West Bernardo Drive, #380 | -------------------------San Diego, CA 92127 | Software & Site DevelopmentMain Line: (858) 675-1106 | http://www.smithmicro.com Fax: (858) 675-0372 **********************************#############################################################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 To switch to the INDEX mode, E-mail to Send administrative queries to
Associated Messages, from the most recent to the oldest:
>Would it be possible to add comparisons other than '=' to case statements? A>circumstance like greater than, less than, or equal to zero doesn't easily>fit without it, and [if][then[else] is cumbersome.I think I mentioned before that no language in the world that I know of supports such a concept, but we'll look into it. I can see some problems with multiple case statements matching the comparison at once. We went to great lengths to put [if]..[then]..[else] in because so many people were asking for it; I certainly hope at this late stage that people don't think it's too cumbersome.>Even if the additional comparisons can't be added, could this possibly be>modified to produce an error statement instead?Certainly we strive to make sure that syntax errors do not cause unwanted side-effects. We'll see if there's anything clear in the code that could prevent that kind of error.Grant Hulbert, Director of Engineering **********************************Smith Micro, Internet Solutions Div | eCommerce (WebCatalog)16855 West Bernardo Drive, #380 | -------------------------San Diego, CA 92127 | Software & Site DevelopmentMain Line: (858) 675-1106 | http://www.smithmicro.com Fax: (858) 675-0372 **********************************#############################################################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 To switch to the INDEX mode, E-mail to Send administrative queries to
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:
Hosts who have upgraded to v5.0? (2003)
WC on Linux question (2001)
[WebDNA] Middle Question (2015)
Proper file locations (1997)
Serving images from databases (1998)
Re:trouble (1997)
[WebDNA] Apache 2 httpd.conf Question (2008)
Num Sort Descending (2004)
WebCat2b14MacPlugIn - [include] doesn't hide the search string (1997)
Order not created error (1997)
StoreBuilder Q's (2003)
RE: OK, here goes... (1997)
sort problems....bug or brain fart? (1997)
Is everybody getting all the posts? (2002)
Improved ISAPI extension (2004)
Coding Standards - are there any ? (2003)
Version number missing (was Mondo amounts of Mail [long]) (1999)
Date search - yes or no (1997)
Ampersand (1997)
RE: format problem on NT? (1997)