POV-Ray : Newsgroups : povray.unofficial.patches : MegaPov 0.2 Problem : Re: MegaPov 0.2 Problem Server Time
2 Nov 2024 09:21:29 EDT (-0400)
  Re: MegaPov 0.2 Problem  
From: SamuelT 
Date: 13 Dec 1999 22:38:31
Message: <3855BD78.F854AF54@aol.com>
That's what I was going to say, only I don't have as much information on the
subject. I had this problem before, and fixed it by simply capitalizing my
#declared word.

smellenbergh wrote:

> Fabian Brau <fab### [at] umhacbe> wrote:
>
> > Hello,
> >
> > This simple scene render correctly, without any warning message or error,
> > with official povray and UVpov6.2 but with MegaPov0.2 (for windows) I have
> > this error:
>
> >> >     pigment { bozo color_map{ >    // s is delta for the contour
> >lines
> > #declare s <----ERROR > >
> >C:\AAAAPhys\Untitled.pov:9: error: undeclared identifier expected but s
> >found instead. >
> >!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
> >! If a replace s by ss all is ok!
> >
> > Fabian.
>
> OK, I know your problem has been solved.
>
> This kind of problem is sure to become a FAQ (maybe it should be added
> to that group?). So it is time to ask all POV-users to keep in mind what
> follows and spread the word.
>
> Reserved keywords for POV will always use only small letters!
> Please make it a habit of using at least one Capital letter in declared
> identifiers or variables. This way you will never run into conflict with
> the currently reserved keywords or the ones that might be added in the
> future.
> I have seen too many macros using variables without a capital
> letter in the identifier causing problems with keywords of new patches.
>
> So, please, when you are writing scenes or macros, keep this in mind.
>
> Smellenbergh
>
> -- e-mail:sme### [at] skynetbe
>
> http://users.skynet.be/smellenbergh

--
Samuel Benge

E-Mail: STB### [at] aolcom

Visit the still unfinished isosurface tutorial: http://members.aol.com/stbenge


Post a reply to this message

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