Home > Community > FPScript > How to continue a “For Each Value” Loop in FPScript? > Antwort auf: How to continue a “For Each Value” Loop in FPScript?

#9295
Bernhard KantzBernhard Kantz
Teilnehmer

The following code should work. But should avoid such loops and use the Event Isolation Analysis object.


Dim CURRENT_TEMP
Dim RANGE_MIN = 600
Dim RANGE_MAX = 800

For Each Value CURRENT_TEMP In T_MWE_2 Do
 
 If Not (CURRENT_TEMP > RANGE_MIN And CURRENT_TEMP < RANGE_MAX) Then
 
   // Do nothing. Just get the next value
 
 End
  // ...
End

Support@weisang.com