|
![](/i/fill.gif) |
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] umh ac be> 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] skynet be
>
> http://users.skynet.be/smellenbergh
Post a reply to this message
|
![](/i/fill.gif) |