Home > Community > FPScript > selecting positive values > Antwort auf: selecting positive values

#8747
Bernhard KantzBernhard Kantz
Teilnehmer

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