Text in D article (4th revision)
Hasan Aljudy
hasan.aljudy at gmail.com
Sun Nov 19 00:50:17 PST 2006
Daniel Keep wrote:
> Daniel Keep wrote:
>> Ok, here's the third revision. Includes some clearer examples, a Q&A
>> section, and is now written in plain text, and then dumped out to HTML.
>> If anyone complains about what file format it's in now, they can get
>> stuffed :P (And *yes*, the HTML is generated directly from the .txt file.)
>>
>> Again, all feedback and suggestions is welcome.
>>
>> -- Daniel
>
> I finally managed to find a copy of the C99 standard, and I've filled in
> what characters you can use... although it's still a bit tricky to
> understand. That said, I added an example which shows using function
> names written entirely in hiragana, so it obviously works :P
konnichiwa!!!!!!11one :D
>
> Secondly, I've removed the references to std.utf.stride. After going
> over the docs again, and actually *testing* the code, it turns out I was
> dead wrong on what stride does: it returns the length of the code point
> sequence at the given location, not the number of code points from that
> location. Whoopsie.
>
> I've replaced the code showing how to use std.utf.stride with a small
> function that correctly computes the number of code points in a string.
>
> -- Daniel
>
Nice job on the article.
Why don't you place it on the dsource tutorials section? It's a wiki
system, so you can update it more easily.
More information about the Digitalmars-d
mailing list