POV-Ray : Newsgroups : povray.general : feature request (regarding &,|) : feature request (regarding &,|) Server Time
8 Aug 2024 16:23:54 EDT (-0400)
  feature request (regarding &,|)  
From: Pabs
Date: 16 Nov 2000 21:44:56
Message: <3A149BF8.C688E185@hotmail.com>
Any one think they (logical operators &,|) shoud be short-circuit logic
operators (like &&, || in C/++) so that the following would be possible
#if( defined(somevar) & somevar)
    <some stuff>
#end
currently this is done like so
#ifdef(somevar)
    #if(somevar)
        <some stuff>
    #end
#end
--
Bye
Pabs


Post a reply to this message

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