> instead I would like to use "EAT_FOOD_DECISION" and "EAT_FOOD_BEHAVIOUR" and
> get the functions?
>
> Is that possible somehow?

If all your functions had the same signature, you could use an
associative array  FunctionType[string] and initialize it:

FunctionType[string] myFuncs;
myFuncs["EAT_FOOD_DECISION"] = &EAT_FOOD_DECISION;

But it seems they have different types?

Reply via email to