In a basic stamp the following will increment to 60 then roll over:
mins = mins + 1 // 60 ' inc with rollover
The same command just keeps incrementing beyond 60 in picbasic. This is what I end up doing:
Minutes=Minutes+1
IF Minutes>60 Then Minutes=0
Although the above works, I'm squished for space. Thoughts?
Bookmarks