Alaska Software Inc. - graSpline error
Username: Password:
AuthorTopic: graSpline error
Rudolf ReinthalergraSpline error
on Mon, 09 May 2011 12:24:24 +0200
Hello,
I get an error when calling graSpline() with this array of points:
{{85,289},;
{84,290},;
{93,289},;
{115,289},;
{120,290};
}
also when two following coordinates have the same value. I think this 
should not end in an runtime error.
regards
Rudolf
Rudolf ReinthalerRe: graSpline error
on Tue, 10 May 2011 10:10:00 +0200
Hello,
found it, the array must have the correct length, this is a workaround:

do while !empty(mod(len(aSpline)-1,3))
    aadd(aSpline,{aSpline[len(aSpline),1],aSpline[len(aSpline),2]})
enddo


regards
Rudolf

Am 09.05.2011 12:24, schrieb Rudolf Reinthaler:
> Hello,
> I get an error when calling graSpline() with this array of points:
> {{85,289},;
> {84,290},;
> {93,289},;
> {115,289},;
> {120,290};
> }
> also when two following coordinates have the same value. I think this
> should not end in an runtime error.
> regards
> Rudolf