POV-Ray : Newsgroups : povray.unofficial.patches : MegaPov 0.2 Problem : Re: MegaPov 0.2 Problem Server Time
2 Sep 2024 14:18:33 EDT (-0400)
  Re: MegaPov 0.2 Problem  
From: smellenbergh
Date: 13 Dec 1999 15:16:23
Message: <1e2rr03.6xml2vk4s49aN%smellenbergh@skynet.be>
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.