|
|
On 3/29/2017 12:20 PM, clipka wrote:
> Am 29.03.2017 um 05:07 schrieb Mike Horvath:
>> POV-Ray currently supports the #break directive in loops, but not the
>> #continue directive found in many programming languages. Is there a
>> simple way to emulate this behavior? Thanks!
>
> I'm not aware of any simple solution.
>
I found a workaround for my needs.
#for (j, 0, 6)
// flag to skip this loop or not
#local pass_me = true;
#if (something bad happens)
#local pass_me = false;
#end
// if no problems encountered...
#if (pass_me = true)
do something
#end
#end
Mike
Post a reply to this message
|
|