POV-Ray : Newsgroups : povray.advanced-users : passing variable to macro for use in #for statement : Re: passing variable to macro for use in #for statement Server Time
19 Apr 2024 13:36:42 EDT (-0400)
  Re: passing variable to macro for use in #for statement  
From: Kenneth
Date: 20 Sep 2018 16:45:01
Message: <web.5ba40654b6c56d12a47873e10@news.povray.org>
clipka <ano### [at] anonymousorg> wrote:
> Am 20.09.2018 um 20:56 schrieb Kenneth:

>
> > The even shorter keyword  #elif  (for #elseif) is not mentioned there (even
> > though it works)...
>
> Actually, no, it doesn't work: That's a mirage. If you examine it more
> carefully, you'll find that the construct only behaves as expected if...

Oh, sorry. I didn't thoroughly test the  #elif  keyword; I used your macro
construct as-is (basically), and it just *happened* to work in my case, or
appeared to.

Caveats noted!!


Post a reply to this message

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