POV-Ray : Newsgroups : povray.general : The Language of POV-Ray : Re: The Language of POV-Ray Server Time
11 Aug 2024 15:13:47 EDT (-0400)
  Re: The Language of POV-Ray  
From: Johannes Hubert
Date: 13 Mar 2000 03:22:15
Message: <38cca537@news.povray.org>
"Matt Giwer" <jul### [at] ijnet> wrote in message
news:38CC8966.A65A6022@ij.net...
> Nieminen Juha wrote:
> >
> >   You are right.
> >   However I think there are some places where the use of goto (at
least in
> > C and C++) is more or less reasonable:
>
> To rephrase Case 1
>
> > - Case 1:
>
> label1:   for(cond1)
> label2     for(cond2)
>        while(cond3)
>          if(skip) goto end_loops elseif (cond1) goto label1
> then goto label2;
>  end_loops:
>
> Real quick and I won't swear to it, that should be look for kbd
> 'L' and then 'ogin'

Brrrr. Is that an intentional or unintentional example of horrible
programming with the help of goto?

Johannes.


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.