I don't thi=nk it would take much effort for WSC to add a new context, maybe call it Fi=rstLetterUppercase or something, that makes only the first letter of each w=ord uppercase without touching the rest of the letters in the word. Then w=e wouldn't have to create our own function for such a useful and common sen=se tool.
Just my tho=ughts.
Sincerely,<=/p>
Kenneth Gro=me
WebDNA Solu=tions
http://www.=webdnasolutions.com
WebDNA Prog=ramming and Linux Server Administration
> Well y=ou're right of course.
>
> For in=stance, what does one do with names like
>
> McElhi=ney
> McGhee=
> O'Shea=
> O'Lear=y
>
> and th=e more modern
>
> iPad=p>
> iPod=p>
> will.i==2Eam
>
> the li=st goes on and on.
>
> As you= said, functions are perfect for this if you want
> to kno=ck yourself out.
>
> Cheers=,
>
> Will S=tarck
> Big Id=ea Software,LLC
>
> On Dec= 12, 2012, at 6:06 PM, Brian Fries <iphonzie@gmail.com> wrote:
> > A=t this point, it doesn't matter how anyone thinks it
> > &=quot;should" work or how it works in any other programming
> > l=anguage, and it's not worth arguing. In WebDNA,
> > [=capitalize] means exactly what it does and what it
> > h=as done for the past 15 years.
> > <=/p>
> > C=hanging what [capitalize] does now will break existing
> > c=ode.
> > <=/p>
> > I=f you want something that behaves differently, write a
> > f=unction.
> > <=/p>
> > M=y 2=C2=A2.
> > <=/p>
> > B=rian
> > <=/p>
> > O=n Dec 12, 2012, at 1:03 PM, Christer Olsson <christer@ljusaideer.se> =wrote:
> >&g=t; 12 dec 2012 kl. 21:40 skrev Michael Davis <admin@network13.net>:=p>
> >&g=t;> On Dec 11, 2012, at 11:56 AM, Christer Olsson <christer@ljusaidee=r.se> wrote:
> >&g=t;>> Capitalizing means first letter uppercase and the
> >&g=t;>> rest of the letters lowercase. Sorry, but that's
> >&g=t;>> the way it is.
> >&g=t;>
> >&g=t;> Where does it mean this? From what source do you
> >&g=t;> derive this theory? Can you point to authoritative
> >&g=t;> documentation, such as the dictionary, as this is
> >&g=t;> clearly a terminology based in grammar, not
> >&g=t;> programming. I have searched through several
> >&g=t;> dictionaries and googled the heck out of it and have
> >&g=t;> found no evidence of any such rule. There is simply
> >&g=t;> no rule that I can find that if the first letter of
> >&g=t;> a word is a capital letter, the rest must be lower
> >&g=t;> case. Please enlighten me. To capitalize the words
> >&g=t;> "dennis deYoung" your way would be silly.
> >&g=t;> [capitalize]dennis deYoung[/capitalize] =3D Dennis
> >&g=t;> Deyoung. So [capitalize][/capitalize] is equivalent
> >&g=t;> to [capitalize][lowercase][/lowercase][/capitalize].
> >&g=t;> [capitalize] has redundant functionality that can be
> >&g=t;> accomplished with another tag, [lowercase]. Because
> >&g=t;> of this, it's overly complicated, if not impossible,
> >&g=t;> to properly capitalize the example above.
> >&g=t;
> >&g=t; As I said in my original reply to Ken: it's the way it
> >&g=t; works in every programming language I know, and I see
> >&g=t; no reason why WebDNA should work differently in this
> >&g=t; aspect. That doesn't mean I don't see a use for a
> >&g=t; function working like to would like it to work.
> >&g=t;
> >&g=t; Best,
> >&g=t; Christer
> > <=/p>
> > -==2D-----------------------------------------------------
> > -==2D This message is sent to you because you are
> > s=ubscribed to the mailing list <talk@webdna.us>.
> > T=o unsubscribe, E-mail to: <talk-leave@webdna.us>
> > a=rchives: http://mail.webdna.us/list/talk@webdna.us
> > B=ug Reporting: support@webdna.us
>
> ------==2D--------------------------------------------------
> This m=essage is sent to you because you are subscribed to
> the ma=iling list <talk@webdna.us>.
> To uns=ubscribe, E-mail to: <talk-leave@webdna.us>
> archiv=es: http://mail.webdna.us/list/talk@webdna.us
> Bug Re=porting: support@webdna.us
--Boundary-01=_ReSyQ2LYeXpYTye-- Associated Messages, from the most recent to the oldest:
|
I don't thi=nk it would take much effort for WSC to add a new context, maybe call it Fi=rstLetterUppercase or something, that makes only the first letter of each w=ord uppercase without touching the rest of the letters in the word. Then w=e wouldn't have to create our own function for such a useful and common sen=se tool.
Just my tho=ughts.
Sincerely,<=/p>
Kenneth Gro=me
WebDNA Solu=tions
http://www.=webdnasolutions.com
WebDNA Prog=ramming and Linux Server Administration
> Well y=ou're right of course.
>
> For in=stance, what does one do with names like
>
> McElhi=ney
> McGhee=
> O'Shea=
> O'Lear=y
>
> and th=e more modern
>
> iPad=p>
> iPod=p>
> will.i==2Eam
>
> the li=st goes on and on.
>
> As you= said, functions are perfect for this if you want
> to kno=ck yourself out.
>
> Cheers=,
>
> Will S=tarck
> Big Id=ea Software,LLC
>
> On Dec= 12, 2012, at 6:06 PM, Brian Fries <iphonzie@gmail.com> wrote:
> > A=t this point, it doesn't matter how anyone thinks it
> > &=quot;should" work or how it works in any other programming
> > l=anguage, and it's not worth arguing. In WebDNA,
> > [=capitalize] means exactly what it does and what it
> > h=as done for the past 15 years.
> > <=/p>
> > C=hanging what [capitalize] does now will break existing
> > c=ode.
> > <=/p>
> > I=f you want something that behaves differently, write a
> > f=unction.
> > <=/p>
> > M=y 2=C2=A2.
> > <=/p>
> > B=rian
> > <=/p>
> > O=n Dec 12, 2012, at 1:03 PM, Christer Olsson <christer@ljusaideer.se> =wrote:
> >&g=t; 12 dec 2012 kl. 21:40 skrev Michael Davis <admin@network13.net>:=p>
> >&g=t;> On Dec 11, 2012, at 11:56 AM, Christer Olsson <christer@ljusaidee=r.se> wrote:
> >&g=t;>> Capitalizing means first letter uppercase and the
> >&g=t;>> rest of the letters lowercase. Sorry, but that's
> >&g=t;>> the way it is.
> >&g=t;>
> >&g=t;> Where does it mean this? From what source do you
> >&g=t;> derive this theory? Can you point to authoritative
> >&g=t;> documentation, such as the dictionary, as this is
> >&g=t;> clearly a terminology based in grammar, not
> >&g=t;> programming. I have searched through several
> >&g=t;> dictionaries and googled the heck out of it and have
> >&g=t;> found no evidence of any such rule. There is simply
> >&g=t;> no rule that I can find that if the first letter of
> >&g=t;> a word is a capital letter, the rest must be lower
> >&g=t;> case. Please enlighten me. To capitalize the words
> >&g=t;> "dennis deYoung" your way would be silly.
> >&g=t;> [capitalize]dennis deYoung[/capitalize] =3D Dennis
> >&g=t;> Deyoung. So [capitalize][/capitalize] is equivalent
> >&g=t;> to [capitalize][lowercase][/lowercase][/capitalize].
> >&g=t;> [capitalize] has redundant functionality that can be
> >&g=t;> accomplished with another tag, [lowercase]. Because
> >&g=t;> of this, it's overly complicated, if not impossible,
> >&g=t;> to properly capitalize the example above.
> >&g=t;
> >&g=t; As I said in my original reply to Ken: it's the way it
> >&g=t; works in every programming language I know, and I see
> >&g=t; no reason why WebDNA should work differently in this
> >&g=t; aspect. That doesn't mean I don't see a use for a
> >&g=t; function working like to would like it to work.
> >&g=t;
> >&g=t; Best,
> >&g=t; Christer
> > <=/p>
> > -==2D-----------------------------------------------------
> > -==2D This message is sent to you because you are
> > s=ubscribed to the mailing list <talk@webdna.us>.
> > T=o unsubscribe, E-mail to: <talk-leave@webdna.us>
> > a=rchives: http://mail.webdna.us/list/talk@webdna.us
> > B=ug Reporting: support@webdna.us
>
> ------==2D--------------------------------------------------
> This m=essage is sent to you because you are subscribed to
> the ma=iling list <talk@webdna.us>.
> To uns=ubscribe, E-mail to: <talk-leave@webdna.us>
> archiv=es: http://mail.webdna.us/list/talk@webdna.us
> Bug Re=porting: support@webdna.us
--Boundary-01=_ReSyQ2LYeXpYTye-- WebDNA SolutionsDOWNLOAD WEBDNA NOW!
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...