ExpressionEdit.SetAdditionalEvaluationConstants
- Updated2025-07-21
- 1 minute(s) read
ExpressionEdit.SetAdditionalEvaluationConstants
Syntax
ExpressionEdit.SetAdditionalEvaluationConstants( val)
Purpose
Use this method to specify additional constants that the expression can contain that are not part of the Context . The ExpressionEdit control does not consider an identifier that has the same name as one of these constants as an error.
Remarks
This method is useful when the expression can contain a constant from an enumeration, such as a parameter value of a module call when the type of that parameter is an enumeration.
Parameters
val As Object Array
[In] Specifies variables that are valid in the expression but are not part of the context. For example, include a numeric or string PropertyObject where the name and value of the object are the name and value of the enumeration or constant. The control ignores subproperties of the object.