getablexprnumbinoper(3) - Linux man page
Name
getablexprnumbinoper - gives the number of binary operators in an expression.
Synopsys
#include "abl101.h" long getablexprnumbinoper( Expr ) chain_list ∗Expr;
Parameters
- Expr
Expression.
Description
getablexprnumbinoper gives the number of binary operators in Expr.
Return Value
getablexprnumbinoper returns the number of binary operators in Expr.
Example
#include "abl101.h"
chain_list ∗Expr;
Expr = createablbinexpr( ABL_AND,
createablatom( "'0'" ),
createablatom( "'1'" ) );
/* displays 1 */
printf( "%d", getablexprnumbinoper( Expr ) );
See Also
abl(1)