Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!ucbvax!hplabs!pyramid!infmx!segel From: segel@infmx.UUCP (Mike Segel) Newsgroups: comp.lang.c Subject: Calling functions in C.... Keywords: It is not as simple as it sounds... Message-ID: <2108@infmx.UUCP> Date: 14 Aug 89 20:23:23 GMT Distribution: usa Organization: Informix Software Inc., Menlo Park, CA. Lines: 21 Hi, It has been a while since I have posted to this group, but I have a strange question.... I want to write a C function which will be passed a set of strings. The C function would then use the first parameter as the function name, and the other parameters as the variables. I can figure out how to get the variables passed, but I cannot think of a way to handle the function name. Has anyone tried this or can think of a way of doing it? (Besides of a large switch statement?) _Mike Segel Informix Software segel@infmx -- Mike Segel Chicago CN, MIS Informix Software Inc.