POV-Ray : Newsgroups : povray.general : How to use #ifdef? : How to use #ifdef? Server Time
19 Apr 2024 20:41:00 EDT (-0400)
  How to use #ifdef?  
From: Kima
Date: 12 Jun 2020 14:25:01
Message: <web.5ee3c827d247f9afecc0fada0@news.povray.org>
I have trouble to use #ifdef and #ifndef for multiple conditions. Can you
provide the correct syntax for the following cases:

1. #ifdef(a1) ...
   #else #ifdef(a2) ....
   #else ...

2. #ifdef(a1) & (a1=1) ...

3. #ifdef(a1) & #ifdef(a2) ...


Post a reply to this message

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