πŸš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.delphi.vcl.components.using.general
5 messages
5 total messages Started by Tomas Tue, 10 Jun 2008 11:38
Delphi formula parser/interpret
#33
Author: Tomas
Date: Tue, 10 Jun 2008 11:38
11 lines
1261 bytes
Hello,

I am searching for Delphi component/library which could do math formula 
parsing and calculation.
For example I have formula below in string format(entered by user in edit 
box) and I need to calculate answer. Any suggestion?

answer := (10 * 1.25) + 273.15

Regards,
Tomas 
Re: Delphi formula parser/interpret
#34
Author: yannis
Date: Tue, 10 Jun 2008 12:25
10 lines
1070 bytes
Tomas wrote:

> Hello,
> 
> I am searching for Delphi component/library which could do math
> formula parsing and calculation.

http://www.efg2.com/Lab/Library/Delphi/MathFunctions/Parsers.htm

-- 
Re: Delphi formula parser/interpret
#35
Author: Horst Reichert
Date: Wed, 11 Jun 2008 07:15
6 lines
1223 bytes
Not free, but does a lot more: http://www.rt-science.com/tools2d.html
See the NonLinear Regression Expression Property for entering Formula.
Each Caption in the components can also include automatically updated 
formula.

Regards Horst 
Re: Delphi formula parser/interpret
#49
Author: SοΏ½rgio Alexandre
Date: Wed, 18 Jun 2008 18:04
21 lines
1729 bytes
You can use some 3rd party tools, like fastscript, or, create your own 
parser (isn't that hard), or, use iactivescript interfaces and instance a 
vbscript/jscript parser...

Currently, i'm use JavaScript using IActiveScript for all my formulas... but 
i have my own parser that can compile and run formulas and small scripts....

"Tomas" <tomas@nomeil.com> escreveu na mensagem 
news:484e67eb$1@newsgroups.borland.com...
> Hello,
>
> I am searching for Delphi component/library which could do math formula 
> parsing and calculation.
> For example I have formula below in string format(entered by user in edit 
> box) and I need to calculate answer. Any suggestion?
>
> answer := (10 * 1.25) + 273.15
>
> Regards,
> Tomas
> 
Re: Delphi formula parser/interpret
#52
Author: Sasa Zeman
Date: Thu, 19 Jun 2008 14:44
7 lines
1157 bytes
Tomas wrote:

> answer := (10 * 1.25) + 273.15

This is easy task you can make yourselves using RPN (Reverse Polish
Notation). There is large number of free units with correct RPN
implementation.
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads