Yagl update(again) + coding problem.

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

The library is done but delayed since I wanted to write a good demo or two
before releasing it and I've been pretty busy.

My problem has to do with this piece of code:

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]))


The interpreter always crashes with a:

Syntax error - expected to see possibly ')', 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]))

Either I'm too dense or something, but I've checked it over a dozen times and
can't find any problem.

Jeremy *argh*

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

Search



Quick Links

User menu

Not signed in.

Misc Menu