This documentation was styled with a demo skin from the Premium Pack 4 add-on for Help & Manual. The contents of the skin are encrypted and not configurable. You can only publish HM projects with this skin. You cannot edit it or change it.
This version is copyright and may only be used for local testing purposes. It may not be distributed.
Please purchase the full version of the Premium Pack to get the configurable skins and remove this notice. The package will also include the Toolbox configuration utility for Premium Pack skins.
Description
Evaluate a string expression representing a math function and returns calculated result.
Syntax
n = Eval_Math(StringBufferToEvaluate)
Returns
Number: the result of the math evaluation
Parameters
Name |
Type |
Optional |
Meaning |
StringBufferToEvaluate |
String |
No |
A string expression containing the math expression to evaluate |
Remarks
List of supported keywords inside Eval: see here.
Restrictions
See also
Examples
USES "EVAL"
Dim result As EXT
EVAL_SETNUMBER ( "x", 10 )
result = EVAL_math ( "x^2") '---this return 100
MSGBOX 0, Result