Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!ira.uka.de!smurf!artcom0!hb.maus.de!ms.maus.de!Kai_Henningsen From: Kai_Henningsen@ms.maus.de (Kai Henningsen) Newsgroups: comp.lang.c Subject: Re: Pointers to functions Message-ID: <15859@ms.maus.de> Date: 19 May 91 21:33:00 GMT Article-I.D.: ms.15859 Distribution: world,comp Organization: Maus Mailbox Netz - UUCP-Gateway Bremen Lines: 18 D P Gilbert dpg%extro.ucc.su.OZ.AU @ SUB schrieb am Fr 17.05.1991, 02:18 DP>As I reach for the shift button to put yet another set of left and DP>right parentheses after a niladic function call I have begun to DP>wonder how to relieve such tedium. Wouldn't it be nice just to DP>write the function name without those parentheses (e.g. token.get DP>instead of token.get() ). The syntax of C tells me why but could it DP>be bent with a #pragma perhaps? Whenever I want the address of a DP>function I use "&" so I can understand my code 18 months later. DP> DP>I know this amounts to heresy ... apologies in advance Well, *I* call this common sense ... :-) -- Kai Henningsen Internet: kh@ms.maus.de Muenster UUCP: any_backbone_that_knows_domains!ms.maus.de!kh Germany Fido: kh%maus ms, 2:242/2.6 or Kai Henningsen, 2:242/2.244