POV-Ray : Newsgroups : povray.bugreports : problem with '#break' in macro : Re: problem with '#break' in macro Server Time
19 Apr 2024 18:56:35 EDT (-0400)
  Re: problem with '#break' in macro  
From: jr
Date: 10 Sep 2021 10:25:00
Message: <web.613b69c3d2ea10ff5e0fed26cde94f1@news.povray.org>
hi,

William F Pokorny <ano### [at] anonymousorg> wrote:
> On 9/7/21 5:34 AM, jr wrote:
>> ...
> My quick test as to whether on the right track was to create a scene
> file like jr's original, but with macro internals looking like:
>
>    #if (f_)
>      #debug "ok.\n"
>    #else
>      #debug "break.\n"
>      #break
>    #end

the intention in the code was using 'f_' as a guard, that is I added the '#else'
only to demonstrate.


> The variation above works for me in all v3.7+ versions I have in hand.

thanking both you and "the Southern Walker" ;-) for taking a look, I think
Kenneth's code is more illustrative of the problem.


regards, jr.


Post a reply to this message

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