Wacky Programming Tales
William
bivey at teamdev.com
Wed Aug 18 13:38:23 EDT 1999
Patrick Bogaart <bogw at geo.vu.nl> wrote in article
<37BAE44B.E66250BD at geo.vu.nl>...
> Yes I can:
>
> i = 0;
> label_1:;
> /* some use of i */
> i = i + 1;
> if (i==max_index) goto label_2;
> goto label_1;
> label_2:;
>
> <wink>
I found this last week:
if ( something )
{
}
else
{
A process that sets the success variable
if (! success )
goto Error;
}
Error:
Note that there was nothing between the goto and and the label
except the end of the else clause. -Wm
More information about the Python-list
mailing list