Error in Wiki _limit page?
#3
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.
Of all the places on Earth, and all the planets in the Universe, I'd rather live here (Perth, W.A.) Big Grin
Reply


Messages In This Thread
Error in Wiki _limit page? - by PhilOfPerth - 04-13-2023, 01:00 AM
RE: Error in Wiki _limit page? - by SMcNeill - 04-13-2023, 01:56 AM
RE: Error in Wiki _limit page? - by PhilOfPerth - 04-13-2023, 04:31 AM
RE: Error in Wiki _limit page? - by RhoSigma - 04-13-2023, 07:18 AM



Users browsing this thread: 1 Guest(s)