Correct way to do that is:
Code:
CNT = CNT + 1
IF CNT =0 then ' This adds a overload catch so it doesnt run away.
    CNT = 0
    goto no_data2
ENDIF