combit List & Label 29 - .NET Help
combit.Reporting Namespace / LlCore Class / LlExprParse Method

expression

Value Meaning
true

reference to fields

false

reference to variables



In This Topic
    LlExprParse Method
    In This Topic

    Tests the expression for correctness and constructs a function tree for this expression.

    You should avoid using this function directly - the ExpressionEvaluator Class offers you a much more powerful way to work with expressions.

    Syntax
    'Declaration
     
    
    Public Function LlExprParse( _
       ByVal expression As String, _
       ByVal includeFields As Boolean _
    ) As IntPtr
    public IntPtr LlExprParse( 
       string expression,
       bool includeFields
    )
    public:
    IntPtr LlExprParse( 
       String^ expression,
       bool includeFields
    ) 

    Parameters

    expression

    expression

    includeFields

    Value Meaning
    true

    reference to fields

    false

    reference to variables

    Remarks

    If an error is signaled (Address = null) then you can query the error text with LlExprError().

    The variables defined with LlDefineVariable() can be integrated into the expression if bTablefields is false, otherwise the fields defined with LlDefineField() are included in the expression. If the expression is used for calculation several times it is recommended to translate it once with LlExprParse() and then carry out the calculations, releasing the tree at the end.

    Requirements

    Platforms: Windows 10 (Version 21H2 - 23H2), Windows 11 (21H2 - 22H2), Windows Server 2016 - 2022
    .NET: .NET Framework 4.8, .NET 6, .NET 7, .NET 8

    See Also