Re: Yagl update(again) + coding problem.

new topic     » goto parent     » topic index » view thread      » older message » newer message

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

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu