M
Marco Trapanese
Hello,
I'm wondering if I can define an array of functions. Why? Because I want
to implement a class where there is a main sub which is called every x
second by a timer. This main sub has to check some stuff. So I call a
function that will return true or false. Well, I don't know how many
functions I need. Their number may change on each instance of the class.
Hence, if I could create an array of such a function (let's say f0, f1,
f2 and so on) in the main sub I simply cycle through all of them.
Please, could you provide me a short example of what I'm trying to do?
Thanks very much
Marco / iw2nzm
I'm wondering if I can define an array of functions. Why? Because I want
to implement a class where there is a main sub which is called every x
second by a timer. This main sub has to check some stuff. So I call a
function that will return true or false. Well, I don't know how many
functions I need. Their number may change on each instance of the class.
Hence, if I could create an array of such a function (let's say f0, f1,
f2 and so on) in the main sub I simply cycle through all of them.
Please, could you provide me a short example of what I'm trying to do?
Thanks very much
Marco / iw2nzm