Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

CheckExprSyntax Method

NI TestStand™ 4.0 Help
April 2007

NI Part Number:
370052F-01

»View NI TestStand Product Info

Syntax

Engine.CheckExprSyntax ( expressionStr, errorDescription, startErrPos, endErrPos)

Return Value

Boolean

Returns True if the syntax is correct. Returns False if the expression contains a syntax error. If it returns False, check the errorDescription, startErrPos, and endErrPos parameters for more information.

Purpose

Checks the syntax of the expression parameter and returns error information.

Remarks

Calling this method is equivalent to calling the CheckExpression method and passing a NULL reference to the evaluationContext parameter and passing EvalOption_NoOptions to the evaluationOptions parameter.

Parameters

expressionStr As String

[In] Specifies the expression for which to check the syntax.

errorDescription As String

[Out] When a syntax error exists, this parameter returns an error message describing the type of error.

startErrPos As long

[Out] When a syntax error exists, this parameter returns the index of the location in the string where the error begins.

endErrPos As long

[Out] When a syntax error exists, this parameter returns the index of the location in the string of the first character beyond the syntax error.


See Also

CheckExpression

EvaluationOptions


Resources


 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit