Jump to content

Consider re-working "repeat every"


apostolakisl

Recommended Posts

Posted

When I see the condition "repeat every", to me that means that it will repeat whatever is written at the stated interval. However, what actually happens is that the repeat timer only starts when the clause has finished.

 

For example:

repeat every 30 seconds

wait 10 seconds

do something

 

This would actually do something every 40 seconds plus maybe a little more if "do something" consumed any time itself. It would make more sense to me to have the program time stamp itself when it first runs, and then have it re-run based on intervals of that. So if it first ran at at the 15 second mark, it would then start over at the 45 second mark, and the 15 second mark and so on.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...