That's not possible. But you could do it with procedures and procedure pointers. See the example below. You could even pass in parameters for EXESUB to pass on to the procedures, and pass back a return value from the procedures. For any procedure you wanted to call through this EXESUB procedure, the procedure would have to have identical parameters and return value to the prototypes defined in EXESUB. In the example below, it's simple, since the procedures don't have any parameters or return value.
Code
Code
Comment