THFormula on http://www.pathcom.com/~horiatu/delphi.htm
THFormula accepts expressions composed of operands, functions, symbols and operators and evaluates the result as String, Integer, Float and Boolean. Operands can be string, integer, float or boolean. Is Data-aware and can operate on a dataset's fields. Default conversion is provided from any type to any type. Operators are arithmetic (+, -, *, /, \, Div, Mod), boolean (and, or, xor, not), string (& concatenate) and logic-compare (=, <>, < ,<=, >, >=). Recognises multiple definible strings as boolean values. Symbols (as Pi=3.14) can be stored in the Symbol Table. Defined Functions: Min, Max, If, Select, Format. More functions can be easily created and freely added. Fires events on exceptions and on result type and values. -------------------------------------------------------------------------------- From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Roberto Freitas Sent: Monday, January 09, 2006 7:04 PM To: [email protected] Subject: [delphi-en] Evaluating expressions at runtime Hi, I need evaluate arithmetic and logical expressions at runtime. Searching Google, I found something that might be what I want, except that it's not a Delphi, but a C programm: (http://www.parsifalsoft.com/examples/evalexpression/) Does anybody know where I can find it? I wouldn't like to reinvent the wheel :-) ----------------------------------------------------- Home page: http://groups.yahoo.com/group/delphi-en/ To unsubscribe: [EMAIL PROTECTED] Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/delphi-en/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/

