DMD 0.170 release

BCS BCS at pathlink.com
Wed Oct 18 09:32:47 PDT 2006


Walter Bright wrote:
> Stewart Gordon wrote:
> 
>> Vladimir Kulev wrote:
>>
>>> J Duncan wrote:
>>>
>>>> Disagree with you, its a nice thing to have.
>>>
>>>
>>> There are many things which are nice to have, but only really 
>>> essential ones
>>> should be in language itself. Reverse foreach can be implemented in 
>>> other
>>> way.
>>
>>
>> So can ordinary foreach.
> 
> 
> All you really need is if and goto!


no, all you really need is goto and label variables

int i = 10;
loop:
	i--;
	goto [loop, quit][cast(int)(i==0)];
quit:



More information about the Digitalmars-d-announce mailing list