Eval for VB (discontinued)

Product discontinuation notice

Eval has been discontinued. Eval was an expression evaluator module and math parser for Visual Basic 6.0. Originally released in 1998, Eval was discontinued in 2018 as part of a normal product lifecycle. We thank all our customers who have chosen Eval. If you require this product, please contact us. Existing licenses are still valid.

Power up your apps with math skills!

Eval

Eval is an expression evaluator module and math parser for Visual Basic 6.0. It evaluates almost any VB6 expression. You can accept expressions from users and calculate the result with a simple call.

Just one function call is required:

Evaluate(Expression)

Use it to add calculation capabilities to your programs. For example, Evaluate("7+2^3") returns 15. Here are a few examples of what you application might do:

Eval is simple to use. Here is an example.

' Accept input from the user. Example: "1+2+3"
Formula = Textbox.Text
' Result will be 6
Result = Evaluate(Formula)

Supported expressions

Eval can handle all Visual Basic constant expressions:

Eval contains an easy interface to support variables. You can also extend the module by adding more functions.

Module information

Compatible with VB5, VB6 and VBCE. Eval comes as an ordinary source code module (Eval.bas) for Visual Basic 5.0 and 6.0. There is also a legacy version for VBCE 6.0. VB.NET support is not available.

No run-time files required. Eval doesn't require any run-time files or any specific Windows version. We all know the problems with the distribution of run-time files: missing files, wrong versions... Eval doesn't suffer from these problems. Eval is just a normal .bas module, or maybe two.

Update in 2013 (v1.02): Documentation update. Help file format changed from .hlp to .chm. No changes in functionality.

Download

The last version of Eval was v1.02.

Download Eval v1.02 demo

The demo is a compiled program that lets you type in expressions and view the results. The demo requires VB6 run-times.

List of available products