Provided by: alliance_5.0-20120515-6_amd64 bug

NAME

       getablexprlength - gives the length of an expression.

SYNOPSYS

       #include "abl101.h"
       long getablexprlength( Expr )
         chain_list ∗Expr;

PARAMETERS

       Expr                Expression.

DESCRIPTION

       getablexprlength gives the length of an expression.

RETURN VALUE

       getablexprlength returns the length of Expr.

EXAMPLE

       #include "abl101.h"
          chain_list ∗ExprA;
          chain_list ∗ExprB;
          chain_list ∗ExprAorB;
          ExprA = createablatom( "a" );
          ExprB = createablatom( "b" );
          ExprAorB  = createablbinexpr( ABL_OR, ExprA, ExprB );
          /* displays 2 */
          printf( "%d", getablexprlength( ExprAorB ) );

SEE ALSO

       abl(1)