Hi,

I have a serie of numbers stored inside a variable.

All values are positive at first, then the sign goes negative.

Is there a way to filter out all positive values from the variable ?

Thus I could extract the index of the first negative value.

Thanks

Edit: it works with "do until" loop but it takes long to finish the loop.

I have a serie of numbers stored inside a variable.

All values are positive at first, then the sign goes negative.

Is there a way to filter out all positive values from the variable ?

Thus I could extract the index of the first negative value.

Thanks

Edit: it works with "do until" loop but it takes long to finish the loop.

## Comment