isabloperinexpr.3alc - Man Page

tests if an operator appears in an expression.

Synopsis

#include "abl101.h"
int isabloperinexpr( Expr, Oper )
  chain_list ∗Expr;
  long        Oper;

Parameters

Expr

Expression where to search.

Oper

Operator to search.

Description

isabloperinexpr tests if Oper appears in Expr.

Return Value

isabloperinexpr returns 1 if Oper appears in Expr and 0 otherwise.

Example

#include "abl101.h"
  chain_list ∗Expr;
   Expr = createablbinexpr( ABL_AND, 
                            createablatom( "a" ),
                            createablatom( "b" ) );
   /* displays   1 */
   printf( "%d", isabloperinexpr( Expr, ABL_AND ) );

See Also

abl(1)

Info

October 1, 1997 ASIM/LIP6 ABL FUNCTIONS