Re: Yagl update(again) + coding problem.
- Posted by Jeremy Peterson <ptl99 at hotmail.com> Aug 07, 2006
- 541 views
Thanks Derek. After fixing that and another bug, I have this:
dist = sqrt((209+p[ix_part][a]-p[x_part][a])*(209+[p[ix_part][a]-p[x_part][a])+(138+p[iy_part][a]-p[y_part][a])*(138+p[iy_part][a]-p[y_part][a]))
And it errors again with: Syntax error - expected to see an expression, not '[' dist = sqrt((209+p[ix_part][a]-p[x_part][a])*(209+[p[ix_part][a]-p[x_part][a])+(138+p[iy_part][a]-p[y_part][a])*(138+p[iy_part][a]-p[y_part][a])) ^ Strange, I can't see anything wrong with (138 + p[iy_part][a] - p[y_part][a])) Jeremy