POV-Ray : Newsgroups : povray.general : Unhandled Exceptions... : Re: Unhandled Exceptions... Server Time
2 Aug 2024 14:18:00 EDT (-0400)
  Re: Unhandled Exceptions...  
From: =Bob=
Date: 16 Sep 2004 13:36:53
Message: <4149cf35$1@news.povray.org>
"Tim Nikias" <JUSTTHELOWERCASE:timISNOTnikias(at)gmx.netWARE> wrote in message
news:41499b3b$1@news.povray.org...
: Yup, I get an exception there as well. Strange thing is, without the
: included file and use of macro, it works fine and tells me, that the closing
: bracket is missing. So it seems like using an un-initialized variable
: triggers that problem as well. Hm. Anyone with insight in regards to the
: POV-source have any idea where this comes from?

I tried removing the call to the sph() macro, and Pov recovers
and displays the proper error.

If I change 'true' to something undeclared, like 'ntrue' and
add the appropriate closing paren, Pov recovers as long as
there is no call to the macro. If I put the call back in, Pov
throws an exception.

If I move the call to the macro sph() to below the #if (ntrue)
and #end, Pov recovers and displays the proper error.

If I change the #if to #while, Pov throws. If I write:

#include "test.inc"

sph()

#ifdef
#end

Pov throws an exception.
So it always seems to throw when the order is:

#include
call macro
# style script error

If I remove the # style error and place an object like
a box there using an undeclared variable, Pov recovers
and displays the proper error.

=Bob=


Post a reply to this message

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