POV-Ray : Newsgroups : povray.tools.general : naughty zoot and her semicolons : naughty zoot and her semicolons Server Time
24 Apr 2024 11:44:34 EDT (-0400)
  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-2023 Persistence of Vision Raytracer Pty. Ltd.