名词解释
暂无相关名词解释。
同类产品
开发商产品
您还浏览过这些产品
Eval |
- 当前版本:v1.01
- 开 发 商:Aivosto
- 产品类型:独立控件
- 产品功能:数学运算
- 开发平台:Visual Basic 6.0 / 其他平台 / 兼容 ActiveX/COM 的平台
- 控件类型:ActiveX/COM
- 产品源码:不提供源码
关于本产品的分类与介绍仅供参考,具体以商家网站介绍为准。
| 产品介绍 | 下 载 | 价格与授权 | 更新记录 | 开 发 商 | 技术支持 |
Power up your apps with math skills!Eval is an expression evaluator library. It evaluates almost any Visual Basic expression. You can accept expressions from the users and calculate the result with a simple call.
特征综述 About Feature
声明:本产品中文介绍为慧都控件网版权所有,未经慧都公司书面许可,严禁拷贝、转载!
Eval is an expression evaluator library. It evaluates almost any Visual Basic expression. You can accept expressions from the users and calculate the result with a simple call. A few examples of what you application might do:
Formula = Textbox.Text ' Accept input from the user, example: "1+2+3"
Result = Eval(Formula) ' Result will be 6
Supported expressions
Eval can handle all Visual Basic constant expressions:
Module information
Eval comes as an ordinary source code module (Eval.bas) for Visual Basic 5.0 and 6.0. There is also a version for VBCE 6.0. It doesn't require any specific Windows version or run-time files.
VB.NET support is currently not available. Eval is written in a way that is not easily upgraded to VB.NET.

- Calculate a simple mathematical formula like "1+2+3".
- Accept any formula like "x + y^2", substitute variable values and get the result.
- Draw curves from user-defined formulas.
- Build your own calculator.
- Add expressions to your own programming language or macro system.
Formula = Textbox.Text ' Accept input from the user, example: "1+2+3"
Result = Eval(Formula) ' Result will be 6
Supported expressions
Eval can handle all Visual Basic constant expressions:
- Numbers (decimal, octal, hexa) and string literals
- Numeric operators: all arithmetic, comparison and logical operators (+ - * / \ ^ Mod, etc.)
- String concatenation and Like
- The keywords Empty and Null
- Basic single-argument functions like CInt(), Abs() or Sgn()
Module information
Eval comes as an ordinary source code module (Eval.bas) for Visual Basic 5.0 and 6.0. There is also a version for VBCE 6.0. It doesn't require any specific Windows version or run-time files.
VB.NET support is currently not available. Eval is written in a way that is not easily upgraded to VB.NET.







