Adds a new sub-expression to the expression.
Visual Basic |
---|
Public Sub AddSubExpression( _ ByVal sub_expression As String, _ Optional ByVal alias_ As String = "" _ ) |
- sub_expression
The sub-expression string.
Please refer to the CQG Studies page for more information on how to formulate a sub-expression.
- alias_
Sub-expression's alias (optional).
If not provided, it will be generated from sub_expression.
Aliases are case-insensitive.
Duplicate aliases in the same request are not allowed.
An exception will be thrown if sub_expression is empty.
An exception will be thrown if the provided or generated alias duplicates (case-insensitively) an existing alias in the expression request.