Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!caip!lll-crg!lll-lcc!qantel!hplabs!tektronix!uw-beaver!ssc-vax!uvicctr!sbanner1 From: sbanner1@uvicctr.UUCP (sbanner1) Newsgroups: net.lang.c Subject: Re: pointers to functions Message-ID: <173@uvicctr.UUCP> Date: Wed, 25-Jun-86 12:22:02 EDT Article-I.D.: uvicctr.173 Posted: Wed Jun 25 12:22:02 1986 Date-Received: Mon, 30-Jun-86 05:09:56 EDT References: <237@killer.UUCP> Reply-To: sbanner1@uvicctr.UUCP () Organization: University of Victoria, Victoria B.C. Canada Lines: 22 Keywords: It can be done. In article <237@killer.UUCP> toma@killer.UUCP (Tom Armistead) writes: >Secondly is it possible to have an array of type 'pointer to' function. Yes, It is possible, though I don't remember the details. A freind of mine wrote a program to convert ASCII carage control to IBM/Fortran carage control, where he read a character, and called the function indexed by it in the array. I have the source for it somewhere if you are interested. It works great on our Pyramid where the function call overhead is low, but slows down on our 780, and the IBM PC clone I have at home. Hope this helps, S. John Banner Disclamer : I am not in any way affiliated with any of the manufacturers listed above, except in that I am a user of them all. The opinions I have experessed may not nessasarily reflect the veiws of anyone else at this establishment. !uw-beaver!uvicctr!sbanner1 UUCP. ccsjb@uvvm BITNET.