in reply to loop control

It will be usefull if you'll let us see your code. the piece of code you gave seems ok, so probably conditioanl A is never met.

Thanks.

Hotshot