DMD 0.170 release
Frits van Bommel
fvbommel at REMwOVExCAPSs.nl
Wed Oct 18 14:04:58 PDT 2006
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 ;).
More information about the Digitalmars-d-announce
mailing list