POV-Ray : Newsgroups : povray.general : #while loop problem : Re: #while loop problem Server Time
10 Aug 2024 01:17:48 EDT (-0400)
  Re: #while loop problem  
From: crewman
Date: 29 Mar 2000 15:51:30
Message: <Pine.LNX.4.10.10003291254160.13761-100000@belial.reno.nv.us>
On 29 Mar 2000, Warp wrote:

>   This is a surprisingly common mistake. I remember someone trying to make
> a merge of several objects in a loop and he made:

Not surprised

 
> #while(whatever)
>   merge
>   { object { Object }
>   }
> #end
> 
> difference
> { object { Object1 }
>   #while(whatever)
>     object { Object2 }
>   #end
> }
> 
> (which makes one difference with lots of objects).
> 
>   I don't know of any way to avoid this kind of misconceptions other than
> learning the basics of programming.

I do, by asking the folks here :)



 
> -- 
> main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
> ):5;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*- Warp -*/
> 
>


Post a reply to this message

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