Board Thread:Questions and Answers/@comment-24973829-20140801174251/@comment-24142133-20140801174503

Not really the most efficient, but:

@CANDYGETLOOP CANDYTIMER=CANDYTIMER+1 IF CANDYTIMER>=60 THEN CANDY=CANDY+CANDYPERSECOND:CANDYTIMER=0 RETURN

Intended to be GOSUB'd to, but you can do whatever.