POV-Ray : Newsgroups : povray.binaries.scene-files : Error on run macros loops declarations something's amiss : Re: Error on run macros loops declarations something's amiss Server Time
25 Apr 2024 04:10:27 EDT (-0400)
  Re: Error on run macros loops declarations something's amiss  
From: dick balaska
Date: 6 Mar 2016 02:44:24
Message: <56dbdfd8$1@news.povray.org>
On 3/5/2016 12:36 PM, Bald Eagle wrote:
> I just spent a lot of time getting all the array loops to work without error,
> and now POV complains
> Parse Error: Expected 'RValue to declare',

Because there is no RValue returned from computeControlPoints(K)

At the bottom of computeControlPoints, where you have
//return {p1:p1, p2:p2};
commented out, you need something there. Like
(p1[0])
if that were the value you were returning.

-- 
dik


Post a reply to this message

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