POV-Ray : Newsgroups : povray.unofficial.patches : MegaPov 0.2 Problem : Re: MegaPov 0.2 Problem Server Time
2 Sep 2024 14:14:58 EDT (-0400)
  Re: MegaPov 0.2 Problem  
From: Fabian Brau
Date: 14 Dec 1999 04:16:49
Message: <38560B96.7E243AF5@umh.ac.be>
Thank you!!

I didn't know this about small letter for keyword!
But I just want to add that this code was made by Nathan 
to show bozo problem ;).

Fabian

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


Post a reply to this message

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