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

the pointer returned by the corresponding LlExprParse()



In This Topic
    LlExprEvaluate Method
    In This Topic

    Evaluates an 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 LlExprEvaluate( _
       ByVal hExpression As IntPtr _
    ) As String
    public string LlExprEvaluate( 
       IntPtr hExpression
    )
    public:
    String^ LlExprEvaluate( 
       IntPtr hExpression
    ) 

    Parameters

    hExpression

    the pointer returned by the corresponding LlExprParse()

    Remarks

    The buffer is always filled with a zero-terminated string. Depending on the type of result the buffer contents are to be interpreted as follows:

     

    Type Meaning
    LL_EXPRTYPE_STRING

    the buffer contents are the result string

    LL_EXPRTYPE_DOUBLE

    the buffer contents are the corresponding

    representation of the value, for pi e.g.

    .3.141592.. The value is always given with 6

    decimal places.

    LL_EXPRTYPE_DATE

    the buffer contains the corresponding

    representation of the Julian value, for

    example .21548263.

    LL_EXPRTYPE_BOOL

    the buffer contains either the string .true.

    or .false..

    LL_EXPRTYPE_DRAWING

    the buffer contains the name of the drawing

    variable/drawing field (!) not the contents.

    LL_EXPRTYPE_BARCODE

    the buffer contains the value which would be

    interpreted as the barcode.

     

     

     

     

     

     

     

    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