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:
WebCat2: multiple currency support (1997)
Help on how to store calculated value (2002)
[date] BUG! (2002)
bypassing typo's (1998)
Credit card types (1997)
Minor Bug(?) with [Capitalize] context (1999)
WebCatalog for guestbook ? (1997)
Sorting by date (1997)
Mac v. NT (1998)
SSL (1998)
Modifying order output (1997)
PSC recommends what date format yr 2000??? (1997)
PCS Frames (1997)
creating a ShipCosts database (1997)
Sort on time (2003)
Replacing entry (1998)
WebCatalog for Postcards ? (1997)
Online reference (1997)
RE: [shownext] support - MacOS (1997)
Checkbox question (1997)