POV-Ray : Newsgroups : povray.binaries.images : Strange error : Re: Strange error Server Time
26 Apr 2024 10:30:47 EDT (-0400)
  Re: Strange error  
From: Alain Martel
Date: 7 Mar 2020 11:18:18
Message: <5e63c94a$1@news.povray.org>
Le 2020-03-06 à 19:27, Jörg "Yadgar" Bleimann a écrit :
> Hi(gh)!
> 
> 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?
> 
> See you in Khyberspace!
> 
> Yadgar

«no» is a builtin constant with a value of zero.
You can change it to «No» or «NO» and this will correct that error.

Remember to always have at least one upper case letter in any user 
defined variable.


Post a reply to this message

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