"Mr" <nomail@nomail> wrote:
> > My first (and so far only) idea was to start with a test for the
> > existence of the variable 'unofficial', but it turns out POV-Ray 3.8
> > does the same test--but treats it as if it were a keyword. This screws
> > up the test for any SDL code running under 3.8.
> I believe you're searching for the combination of this :
> with a more narrowed patch version number that belongs only to uber pov such as:
> #if(unofficial = \"patch\") #if(patch(\"upov-reflection-roughness\") > 0)
Parse Warning: Trying to test whether a reserved keyword is defined. Test result
may not be what you expect.
#declare U = unofficial;
Parse Error: Expected 'RValue to declare', unofficial found instead
#declare P = patch;
Parse Error: Cannot pass uninitialized identifier to non-optional LValue.
Parse Error: Expected 'string expression', unofficial found instead
Parse Error: Expected 'string expression', undeclared identifier 'patch' found
Post a reply to this message