On 24 Jan 2014, at 21:20, waldo kitty wrote: > On 1/23/2014 2:18 PM, waldo kitty wrote: > > following up on this, how do i pass parameters to doThis and doThat?? do i > have to use an intermediate pre_doThis and pre_doThat which handles the calls > from centralControl and then calls doThis and doThat with the necessary > parameters? >
Simply change the type: Type TProc = Procedure(aRecord: somerec); Then you can call whichProc (in centralControl) with your argument of choice. -- Ewald _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal