Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Languages with GOTO

Name: suomynonA 2007-07-17 12:49 ID:sJhm9IHJ

Is there a modern programming language which has GOTO function in it? I know basic from a millenia ago and recently learned java, and well I hated OOP, but I could live with it if I had goto.

Name: Anonymous 2007-07-21 0:49 ID:3FJdXgPe

I'd like to see you turn THREE interlaced loops with goto into equally readable (>>58 doesn't count), equally efficient code.

a:
 do1();
b:
 if(do2()) goto a;
c:
 if(do3()) goto b;
d:
 if(do4()) goto c;
 if(do5()) goto d;

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List