POV-Ray : Newsgroups : povray.general : does #break work as intended with #if statements? : Re: does #break work as intended with #if statements? Server Time
5 Aug 2024 16:14:19 EDT (-0400)
  Re: does #break work as intended with #if statements?  
From: Le Forgeron
Date: 20 Aug 2002 03:39:36
Message: <3D61F252.20203@free.fr>
Shay wrote:

> Christoph Hormann <chr### [at] gmxde> wrote in message
> news:3D6139E2.C69ADD83@gmx.de...
> 
>>#break can only be use in #switch.
>>
>>

And that's good enough.


> 
> That explains it then, doesn't it. I just assumed that it was valid because
> it is a keyword used in other languages. 


Because others do it is no excuse. The scene has to be described, not 
processed. There is no need for #break in #while/#if, if you can keep 
your mind on the right track.
I'm afraid someone come up with a "#goto" idea... followed by a blury 
"#continue"

>Perhaps the use of this word will
> be expanded in 4.0. Thank you.
> 


I hope and wish not!


Post a reply to this message

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