POV-Ray : Newsgroups : povray.general : #ifdef using a string expression? : Re: #ifdef using a string expression? Server Time
9 May 2024 14:47:54 EDT (-0400)
  Re: #ifdef using a string expression?  
From: jr
Date: 11 Apr 2023 08:50:00
Message: <web.643556bf98df09c94301edef6cde94f1@news.povray.org>
hi,

"Kenneth" <kdw### [at] gmailcom> wrote:
> "Kenneth" <kdw### [at] gmailcom> wrote:
> > (v3.8.0 beta 1 in Windows 10)
> >
> > I was playing around with #ifdef recently; just experimenting.
> > ...
> For the first line, a simpler  #if(#ifdef(AA)) does not work either, nor does
> #if(#ifdef(AA)=true))
>
> Any suggestions or comments?

suggestion.  write '#if(defined(AA) & defined(BB))'  (ie both exist)


regards, jr.


Post a reply to this message

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