|
|
On 2020-03-06 8:27 PM (-4), Jörg "Yadgar" Bleimann wrote:
> While re-coding Melody's smooth mesh2 routine and running a test, I
> encountered a strange error message:
>
> File 'mesh2writer.pov' line 151: Parse Error: Expected 'undeclared
> identifier',
> float function 'no' found instead
>
> This is the mentioned line:
>
> #declare no = vcross(V_vec_Arr[3601]-V_vec_Arr[1],
> V_vec_Arr[0]-V_vec_Arr[1]);
>
> I can't see anything wrong with it... "no" is a vector (returned by
> vcross), not a function!
>
> What is this about?
'no' is a reserved keyword. You can avoid this type of name collision
by making sure all of your identifiers have at least one uppercase letter.
Post a reply to this message
|
|