getablexprnumbinoper.3alc man page

getablexprnumbinoper — gives the number of binary operators in an expression.

Synopsis

#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)

Info

October 1, 1997 ASIM/LIP6 ABL FUNCTIONS