|
|
Nieminen Mika wrote:
>
> Perhaps the problem was too simple to a programmer like me to see it.
>
> : To avoid this I made a second array nearly identical to the first with
> : the exception that the first line of data was removed so I had different
> : start points and end points
>
> : Connect (
> : <B_spline[ab][0], B_spline[ab][1], 0>, 0.1,
> : <C_spline[ab][0], C_spline[ab][1], 0>, 0.1 )
>
> Can't you just do it this way:
>
> Connect (
> <B_spline[ab][0], B_spline[ab][1], 0>, 0.1,
> <B_spline[ab+1][0], B_spline[ab+1][1], 0>, 0.1 )
Of course I could and it works exaclty as I would expect it to. :}
You know I had tried something similar but in the wrong part of the script:
Connect (
<B_spline[ab][0 ], B_spline[ab][1 ], 0>, 0.01,
<B_spline[ab][0+1], B_spline[ab][1+1], 0>, 0.01 )
}
Which issues a subscript out of range error. I had the right idea just the
wrong method.
Thanks Warp,
--
Ken Tyler
mailto://tylereng@pacbell.net
http://home.pacbell.net/tylereng/links.htm
Post a reply to this message
|
|