getablexprnumbinoper(3) 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 ) );