getablexprnumatom(3) - Linux man page
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 ) );
See Also
abl(1)