Provided by: alliance_5.1.1-1.1build1_amd64
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)