i'd like to call a function with a name identicle to a sting's content, as a branching point where one of several functions is called.. first thing i tried was just replacing function name with string name,
STRING* component = "exhp";
function exhp()
{
beep();
}
action mei_mo
{
while(1)
{
component();
wait(1);
}
}
but obviously it couldn't be as easy as that... i dont know if achieving this is a matter of syntax or a more advanced technique... any ideas people? thanks...