Progopedia - encyclopedia of programming languages

Ary Borenszweig ary at esperanto.org.ar
Tue Nov 24 01:33:44 PST 2009


JMNorris wrote:
> Walter Bright <newshound1 at digitalmars.com> wrote in news:heetio$be1$1
> @digitalmars.com:
> 
>> Does someone want to write a D entry?
>>
>> http://progopedia.com/
> 
> Okay.  I added a D entry.  It should be checked for accruacy.  I haven't 
> added programming examples yet; I'll add at least the three example types 
> shown on at http://progopedia.com/ (Hello world, Factorial, Fibonacci).

Cool.

I think the "For each value in a numeric range, 1 increment" can be 
replaced by:

   foreach(i; 0 .. limit) statement

and the other with

   foreach_reverse(i; 0 .. limit) statement

but these only work for D2 and probably some people here won't like the 
foreach_reverse version.


More information about the Digitalmars-d-announce mailing list