dear bruce,
i failed to initialized the WORD but in my program. also my bad, this is my code.
i verified it that it enters the IF/THEN statement with the decideInterval = 11 or other pseudo-randomly values. sorry for the incomplete info a while ago. but this post seems to be complete now.Code:init: decideInterval var WORD TIMEINTERVAL con 600 decideInterval = 0 main: decideInterval = decideInterval + 1 IF decideInterval = TIMEINTERVAL then decideInterval = 0 ;resets the decideInteval (a command output to LCD display) ELSE ENDIF GOTO MAIN END
thanks
regards,
yettie




Bookmarks