04-13-2023, 04:31 AM
(This post was last modified: 04-13-2023, 04:32 AM by PhilOfPerth.)
Sorry Steve, I just don't understand the wording of rule #5 in the Wiki.
First it says "The _LIMIT statement sets the loop repeat rate of a program to so many per second"
and then in rule #5, "Do not use it to limit a loop to less than once every 60 seconds(.0167)"
_Limit 30, as you say, limits to no more than 30 times per second (or once every 1/30 second), which is much less than once every 60 seconds.
The function works, just as you described, but rule #5 in the Wiki is, I think upside-down, and should be not less than once every 1/60 second.
First it says "The _LIMIT statement sets the loop repeat rate of a program to so many per second"
and then in rule #5, "Do not use it to limit a loop to less than once every 60 seconds(.0167)"
_Limit 30, as you say, limits to no more than 30 times per second (or once every 1/30 second), which is much less than once every 60 seconds.
The function works, just as you described, but rule #5 in the Wiki is, I think upside-down, and should be not less than once every 1/60 second.
Of all the places on Earth, and all the planets in the Universe, I'd rather live here (Perth, W.A.)