POV-Ray : Newsgroups : povray.tools.general : naughty zoot and her semicolons : naughty zoot and her semicolons Server Time
6 Dec 2021 19:11:10 EST (-0500)
  naughty zoot and her semicolons  
From: dick balaska
Date: 2 Feb 2017 05:37:16
Message: <58930bdc$1@news.povray.org>
I'm stuck on my parser. :(

I use the colefax spline macro like this.
#declare fishpath=create_spline(array[3] {<1,2,3>,<2,3,4>,<3,4,5>} 3)

povclipse2 needs to see it like this.
#declare fishpath=create_spline(array[3] {<1,2,3>,<2,3,4>,<3,4,5>}, 3);

povray lets me sneak that comma separator in, but refuses to accept the 
trailing semicolon.

I don't know how to resolve this.  To me, there is a rule that says
"start with #declare and run to a ;"  I don't know that it's a funky 
macro at this point, it's just opaque text.  It is the same as
#declare one=cos(0);

-- 
dik


Post a reply to this message

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