Blitz Command Suggestion (OverLoadLimit)
BlitzMax Forums/BlitzMax Programming/Blitz Command Suggestion (OverLoadLimit)
| ||
what do you think if there was a command called OverLoad where you put it inside a repeating loop likeRepeat OverLoadLimit (1000,"Overload On xxx") forever this will automaticly exit a loop if reached the wanted limit (in this case 1000) It can also post a remark. I know it can be done by a counter but this is more elegant also for Recursive Functions it can be usefall. Function ReqTest ReqTest Overload (100,"recursive OverLoad at ReqTest") End Function or maybe if should be on the same line of Repeat Repeat OverloadLimit (100) forever |
| ||
I think you'd be just as well using a counter - which you have infinitely more control over. |