POV-Ray : Newsgroups : povray.general : __FILE__ and __LINE__ equiv. in POV macros? : __FILE__ and __LINE__ equiv. in POV macros? Server Time
12 Aug 2024 11:19:54 EDT (-0400)
  __FILE__ and __LINE__ equiv. in POV macros?  
From: John M  Dlugosz
Date: 16 Feb 1999 00:16:51
Message: <36c8ff43.0@news.povray.org>
I can use #error, #warning, etc. to output interesting text.  Is there any
way to include the location of the problem?

Something like:

    #if (foo>bar)
        #error concat ("Your object is impossible.  Stopped at ", __LINE__,
"\n")
   #end


Post a reply to this message

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