Home > Community > FPScript > selecting positive values > Reply To: selecting positive values

#8747
Bernhard KantzBernhard Kantz
Participant

You have to use = instead of ==.
But it’s better and faster to use the ValuesBelow-function and the index operator.

Example:


Dim B = A
B[ValuesBelowLevel(A, 0, EVENT_INDEX)] = 0

support@weisang.com