> > Hi Brendan > > > > The "nicest" way is to use typedefs: > > > > int foo(int bar); // function to point to0 > > > > typedef int (* MyFuncPtrType)(int /* parameters here */); > > > > Then you can say: > > > > MyFuncPtrType pFunc = &foo; > >I'm not quite sure this is right. As far as I know, you don't need the "&" >before the function name. It may still work, I haven't tried it. Thanks for that, guys, it works well. As to the '&', I'm not sure if it's accepted, but it works fine without it. --Brendan -- http://www.piclist.com#nomail Going offline? Don't AutoReply us! email listserv@mitvma.mit.edu with SET PICList DIGEST in the body