function id number

can I can any id number for the function ( I know __FUNCTION__ is its string name ) ??
I need it to have internal configuration tabke , with the function as its index. This I need for some logging of my software
closed account (D80DSL3A)
You can use an array of function pointers to call functions based on an index number. The functions must all have identical parameter lists and return type though. If that limitation is a problem then just use a switch statement to call them through.
Topic archived. No new replies allowed.