Re: [WebDNA] Capitalize surprise
This WebDNA talk-list message is from 2012
It keeps the original formatting.
numero = 110009
interpreted = N
texte = 12 dec 2012 kl. 21:40 skrev Michael Davis
:> On Dec 11, 2012, at 11:56 AM, Christer Olsson =wrote:>=20>> Capitalizing means first letter uppercase and the rest of the letters =lowercase. Sorry, but that's the way it is.>=20> Where does it mean this? =46rom what source do you derive this =theory? Can you point to authoritative documentation, such as the =dictionary, as this is clearly a terminology based in grammar, not =programming. I have searched through several dictionaries and googled =the heck out of it and have found no evidence of any such rule. There =is simply no rule that I can find that if the first letter of a word is =a capital letter, the rest must be lower case. Please enlighten me.> To capitalize the words "dennis deYoung" your way would be silly. =[capitalize]dennis deYoung[/capitalize] =3D Dennis Deyoung.> So [capitalize][/capitalize] is equivalent to =[capitalize][lowercase][/lowercase][/capitalize].> [capitalize] has redundant functionality that can be accomplished with =another tag, [lowercase].> Because of this, it's overly complicated, if not impossible, to =properly capitalize the example above.As I said in my original reply to Ken: it's the way it works in every =programming language I know, and I see no reason why WebDNA should work =differently in this aspect. That doesn't mean I don't see a use for a =function working like to would like it to work.Best,Christer=
Associated Messages, from the most recent to the oldest:
12 dec 2012 kl. 21:40 skrev Michael Davis :> On Dec 11, 2012, at 11:56 AM, Christer Olsson =wrote:>=20>> Capitalizing means first letter uppercase and the rest of the letters =lowercase. Sorry, but that's the way it is.>=20> Where does it mean this? =46rom what source do you derive this =theory? Can you point to authoritative documentation, such as the =dictionary, as this is clearly a terminology based in grammar, not =programming. I have searched through several dictionaries and googled =the heck out of it and have found no evidence of any such rule. There =is simply no rule that I can find that if the first letter of a word is =a capital letter, the rest must be lower case. Please enlighten me.> To capitalize the words "dennis deYoung" your way would be silly. =[capitalize]dennis deYoung[/capitalize] =3D Dennis Deyoung.> So [capitalize][/capitalize] is equivalent to =[capitalize][lowercase][/lowercase][/capitalize].> [capitalize] has redundant functionality that can be accomplished with =another tag, [lowercase].> Because of this, it's overly complicated, if not impossible, to =properly capitalize the example above.As I said in my original reply to Ken: it's the way it works in every =programming language I know, and I see no reason why WebDNA should work =differently in this aspect. That doesn't mean I don't see a use for a =function working like to would like it to work.Best,Christer=
Christer Olsson
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:
Customizing WebDelivery.html (1998)
2.1b3 --> way slow (1997)
Starting from scratch (2002)
frames & carts (1997)
Date search - yes or no (1997)
WARNING: Hiding HTML in an [include] file... (2004)
Another bug to squash (WebCat2b13 Mac .acgi) (1997)
Fun with Dates - finally resolved but.... (1997)
[WebDNA] cron - curl to replace triggers.. (2009)
checksum for credit cards? (1997)
Resume Catalog ? (1997)
WCS Newbie question (1997)
[WebDNA] How to generate md5 hash on linux (2009)
Slightly off-topic hits to purchase ratio? (1999)
Template Encryption (1998)
The USArea® Network web site ... (1997)
Install Webcatalog under NT4.0 and Microsoft IIS 2.0 (1997)
[OT] - Block Traffic to DevBox (2003)
Search 1 Field Twice? (2004)
Fedora Core 3 and WebDNA (2005)