POV-Ray : Newsgroups : povray.beta-test : #error bug Server Time
31 Jul 2024 02:29:24 EDT (-0400)
  #error bug (Message 41 to 43 of 43)  
<<< Previous 10 Messages Goto Initial 10 Messages
From: Anders K 
Subject: Re: #error bug
Date: 21 Oct 2001 20:15:09
Message: <3bd3650d$1@news.povray.org>
> > #macro verboseFatal(stString)
> >   #warning stString
> >   #error ""
> > #end
> >
> > verboseFatal("\n\nA Simple Solution ?\n\n")

Okay, just noticed the text "A Simple Solution ?", but it was way above the
error message (even above a horizontal rule), and I think most users
wouldn't have noticed it.


Post a reply to this message

From: Ron Parker
Subject: Re: #error bug
Date: 22 Oct 2001 00:01:35
Message: <slrn9t76h2.oja.ron.parker@fwi.com>
On Sun, 21 Oct 2001 17:15:21 +0200, Thorsten Froehlich wrote:
>In article <3bd2c73b@news.povray.org> , Warp <war### [at] tagpovrayorg>  wrote:
>
>>   IMHO there's no need to "camouflage" an #error command to look like a
>> POV-Ray error. Make it as different as you need from internal errors;
>
>Ah, finally an interesting suggestion.  This sounds like something that is
>possible to do easily and still avoids the problem of users taking the
>output as a POV-Ray error message.
>
>What do other people think?

I think it's a good idea.  I certainly always assumed that #error would
print what I asked it to before aborting; if it has to put little flashy
warning signs around the error, that's okay, but it should definitely do
what it looks like it does.

-- 
#macro R(L P)sphere{L F}cylinder{L P F}#end#macro P(V)merge{R(z+a z)R(-z a-z)R(a
-z-z-z a+z)torus{1F clipped_by{plane{a 0}}}translate V}#end#macro Z(a F T)merge{
P(z+a)P(z-a)R(-z-z-x a)pigment{rgbt 1}hollow interior{media{emission T}}finish{
reflection.1}}#end Z(-x-x.2y)Z(-x-x.4x)camera{location z*-10rotate x*90}


Post a reply to this message

From: ingo
Subject: Re: #error bug
Date: 22 Oct 2001 05:03:12
Message: <Xns9142707147F84seed7@povray.org>
in news:3BD33830.7DF64ED6@free.fr Adrien Beau wrote:

> Anyway, I hope ingo is still reading this one,

He does and waits until it comes to a conclusion: will Thorsten make 
the proposed changes, it sounds ggod, and what should be changed 
exactly in the doc.

Ingo

-- 
Photography: http://members.home.nl/ingoogni/
Pov-Ray    : http://members.home.nl/seed7/


Post a reply to this message

<<< Previous 10 Messages Goto Initial 10 Messages

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