combit List & Label 25 - .NET Online Web Help
LlExprEvaluate Method


combit.ListLabel25 Namespace > LlCore Class : LlExprEvaluate Method

the pointer returned by the corresponding LlExprParse()

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 7 SP1 - Windows 10 Version 1909, Windows Server 2008 R2 - 2019

See Also

Reference

LlCore Class
LlCore Members