Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!swrinde!cs.utexas.edu!helios!mtecv2!josevela From: josevela@mtecv2.mty.itesm.mx (Jose Angel Vela Avila) Newsgroups: comp.binaries.ibm.pc.d Subject: Re: Program that evaluates equations .. Message-ID: <3249@mtecv2.mty.itesm.mx> Date: 26 Apr 91 03:08:34 GMT References: <3235@mtecv2.mty.itesm.mx> <1991Apr25.114053.8398@uwasa.fi> Organization: ITESM. Campus Monterrey Lines: 24 suhonen@kunto.jyu.fi (Timo Suhonen) writes: > josevela@mtecv2.mty.itesm.mx (Jose Angel Vela Avila) writes: > > I'm looking for a program in Pascal or C, that read a equation from the > > Keyboard and evaluate it ..... > > If anybody knows some please tell me .... > : >About two years ago I wrote such a program. It reads a string and compiles >it to dynamic list and evalutes that list (quite fast). You can set variables >and use TP's build-in functions like sin, cos, ln etc. >If needed, I can put the code into garbo archive (and nic.funet.fi) for >you. I won't post it because 1) I don't know how to post to bin-groups and >2) code is not too readable... If someone likes to post it later, then >go on, I don't mind... Please put it in garbo !! and thank you !! Just say where is it .... Jose A. Vela A