GetTermDepth

GetTermDepth 1:

Determines the maximum nesting depth of an expression. This method returns the depth of the token hierarchy below the passed expression.

Syntax

METHOD PROTECTED GetTermDepth : UINT
VAR_INPUT
  stTerm : POINTER TO ST_BA_StringTerm;
END_VAR

GetTermDepth 2: Inputs

Name

Type

Description

stTerm

POINTER TO ST_BA_StringTerm

Pointer to the expression to be analyzed.