Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!sdd.hp.com!cs.utexas.edu!uunet!nwnexus!apex!rennyk From: rennyk@apex.com (Renny K) Newsgroups: comp.sys.ibm.pc.misc Subject: Re: Programming Question Message-ID: <1991Jun26.152042.17733@apex.com> Date: 26 Jun 91 15:20:42 GMT References: <142295@unix.cis.pitt.edu> Reply-To: rennyk@apex.UUCP (Renny K) Distribution: usa Organization: Apex Computer Co., Redmond WA Lines: 21 In article pshuang@athena.mit.edu (Ping-Shun Huang) writes: >In article <142295@unix.cis.pitt.edu> sheaf@helios (Sheaf) writes: > > > So, to put it simply, is there any way (in any language) to define a > > function by user input? > >Hmm... you're using Pascal and BASIC, right? I don't suppose switching If you're using Pascal or C, it is best to write an evaluator. (I had to do this once and it is not that hard). There might be sources for such in PD, but not that I know of. If you are indeed talking about C or Pascal, e-mail me. I might be able to dig up the source (I KNOW I have the C one, the pascal... I'll check for) Renny -- ------------------------------------------------------------------------------- Renny Koshy rennyk@apex.com Apex Computer, Redmond, WA.