User Tools

Site Tools

Navigation:  Language Reference > 10 - Expressions > Runtime Expression Evaluation >====== BINDEXPRESSION(declare runtime expression) ====== Previous pageReturn to chapter overviewNext page


BINDEXPRESSION( | name,expression | )


BINDEXPRESSION Identifies variables allowed to be used in dynamic expressions.
name A string constant containing the identifier used in the dynamic expression.
expression A mathematical formula containing any valid combination of variables, functions, operators, and constants.

The BINDEXPRESSION statement declares the logical name used to identify an expression used in runtime expression strings.

The EVALUATE statement must parse an expression every time it is called. If some expression is evaluated frequently, this can be time consuming.

BINDEXPRESSION parses the expression only once and is saved in a pre-compiled form under the given name. Later, this expression can be used in EVALUATE as a stand alone, or as a part of another expression in EVALUATE, or in another BINDEXPRESSION.


 BIND('Var', Var)

BINDEXPRESSION('Power2', 'Var * Var')


 Var = 10

 P2  = EVALUATE ('Power2')


BINDEXPRESSION ('Circle', '3.14159 * Power2')


 MESSAGE('color:red = ' & color:red & '|Eval(color:red)=' &|

 EVALUATE('color:red') )        !Shows same number twice



See Also:

BIND (declare runtime expression string variable)

EVALUATE (return runtime expression string result)

bindexpression_declare_runtime_expression_.htm.txt · Last modified: 2021/04/15 15:57 by