DMD 0.170 release

Ivan Senji ivan.senji_REMOVE_ at _THIS__gmail.com
Wed Oct 18 14:09:38 PDT 2006


Frits van Bommel wrote:
> Ivan Senji wrote:
>> BCS wrote:
>>> no, all you really need is goto and label variables
>>>
>>> int i = 10;
>>> loop:
>>>     i--;
>>>     goto [loop, quit][cast(int)(i==0)];
>>> quit:
>>
>> But this doesn't work, you can't create an array of label names.
> 
> Read carefully. What he said was "all you really need is goto and label 
> variables".
> The fact we can't /currently/ do it this (because we don't have the 
> latter of the two) doesn't mean he's wrong ;).

Look, look, I really should have read more carefully, thanks :)



More information about the Digitalmars-d-announce mailing list