execute function from variable

Hi,

Is it possible to execute a function from a field/variable/global?

I have a table with a number of actions and the corresponding function. I would like to execute the function from the table field instead of programming the functions hardcoded. Besides that I would like to create 1 codeunit with all the functions instead of 1 codeunit per function.

Thanks in advance for any help.

Best regards,

Erik

You can send the field/variable/global to that function and check the field at the begining of the function like

IF NOT Boolean THEN

EXIT;

Your code here.