Path: utzoo!utgpu!jarvis.csri.toronto.edu!clyde.concordia.ca!uunet!blkcat!John.Tucker From: John.Tucker@blkcat.fidonet.org (John Tucker) Newsgroups: comp.lang.c Subject: indirection Message-ID: <452.25D05A82@blkcat.fidonet.org> Date: 7 Feb 90 18:31:08 GMT Organization: The Black Cat's Shack, Gaithersburg, MD 301-590-3994 Lines: 17 I and a friend have worked out code whereby we use the Paradox DBMS report writer to generate a hundred or so similar functions, and a main routine which goes to a lookup table with an input variable and pulls out of it the name and index of the proper function to use. There's a tricky little way to store the address of a function in a pointer array that's a little different than storing data items. The whole thing seems to work ok and saves us, and the machine, a whole lot of time. I'd be interested if anyone else is working on techniques like this. I have no problem sharing but I'd rather trade. -- John Tucker at The Black Cat's Shack (Fidonet 1:109/401) Internet: John.Tucker@blkcat.fidonet.org UUCP: ...!uunet!blkcat!John.Tucker