02-17-2014, 10:45 AM
Is this possible?
Imagine I have the functions
func1
func2
func3
int functionumber <--------- this will be = 1 or 2 or 3
can I make a variable, functiontocall.from("func" functionumber)
So when the functionnumber = 1 then functiontocall = func1, and call that function?
Thanks
Imagine I have the functions
func1
func2
func3
int functionumber <--------- this will be = 1 or 2 or 3
can I make a variable, functiontocall.from("func" functionumber)
So when the functionnumber = 1 then functiontocall = func1, and call that function?
Thanks