(j3.2006) (SC22WG5.5171) [ukfortran] [ Draft corrigendum 3]

N.M. Maclaren nmm1
Tue Dec 24 04:30:14 EST 2013


On Dec 24 2013, Malcolm Cohen wrote:
>...
>>The argument is that computed GO TO ought to be replaced by SELECT CASE.
>>Well, the code is a coroutine.
>
> I think this is precisely the case when computed GOTO is superior to 
> SELECT CASE.

Way back when, I used assigned GOTO for that :-(

Yes.  It's not a big deal, because such code is very rare (which is more a
social effect than a technical one), and none of the alternative methods
are seriously worse than the others.


Regards,
Nick.




More information about the J3 mailing list