Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!zaphod.mps.ohio-state.edu!unix.cis.pitt.edu!dsinc!netnews.upenn.edu!platypus!jaguar.ucs.uofs.edu From: ms12@jaguar.ucs.uofs.edu (SCHWEISGUTH MICHAEL) Newsgroups: comp.lang.pascal Subject: I need a formula parser for Turbo Pascal version 6.0 Message-ID: <618@platypus.uofs.edu> Date: 19 May 91 02:09:08 GMT Sender: news@platypus.uofs.edu Reply-To: ms12@jaguar.ucs.uofs.edu Organization: University of Scranton Lines: 26 Nntp-Posting-Host: jaguar.ucs.uofs.edu I need some Help ... I wrote some Numerical Analysis Integration Programs using the Simpsons method to find the area underneath the curve. As of now, I store the function to be integrated in a Function declaration. This makes it hard for a user with no Pascal Experience to use different functions since he or she must know how to use the editors-- including recompilation to use his or her new function. Where can I get some code that would for example make some sense out of this statement : (1 * X^2) + (2 * (9 + 2) ) ... meaning if X = 2, the function would return a value of 25. Any help would be muchly appreciated. Thanks ... Tio Sancho. (MS12@Scranton)