yeah, forget about posi, it was created when I noticed that i didn't keep the value it should. posi was intended to keep the value, actually it was only for debuging purpose.

Thanks anyway

Clive Walden wrote:

I am not much of a C/C++ person mainly using Pascal; but I will venture two 
thoughts.

1. You appear to be creating a new variable posi with each iteration.
2. What is the purpose of posi? It is always the same value as i.

Clive
Clive Walden
Walden Consulting
Phone: 760-632-5856
Web site: www.clivewalden.com






-- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Reply via email to