Pass a function as an argument

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Hi,

I have a function within which I would like to call another function.
Id like to pass the second function into the first as an argument. As
follows:

Function1(Function2a);
Function1(Function2b);

void Function1(? Function2)
{
Function2();
}

Is this possible?

Thanks,

Barry.
.