NAME
getablexprnumatom - gives the number of atom in an expression.
SYNOPSYS
#include "abl101.h" long getablexprnumatom( Expr ) chain_list ∗Expr;
PARAMETERS
- Expr
-
Expression.
DESCRIPTION
getablexprnumatom gives the number of atom in Expr.
RETURN VALUE
getablexprnumatom returns the number of atom in Expr.
EXAMPLE
#include "abl101.h"
chain_list ∗Expr;
Expr = createablbinexpr( ABL_AND,
createablatom( "'0'" ),
createablatom( "'1'" ) );
/* displays 2 */
printf( "%d", getablexprnumatom( Expr ) );