|
looping a function
Hi!
I want to loop one of like, 5 functions a 100 times. I don't wanna put the loop in each of those 5 functions.
The loop code itself is the same each time, only a different function is used. I don't wanna use a if statement in the loop or a select case as that is inefficient.
I'm thinking something like having a looping class and placing the loop there, calling to an execute function - which is overridden by derived classes with those functions in them.
Any ideas?
Thanks
Last edited by Username : 07-30-2007 at 12:48 PM.
Reason: typo
|