1ISABLOPERINEXPR(3)               ABL FUNCTIONS              ISABLOPERINEXPR(3)
2
3
4

NAME

6       isabloperinexpr - tests if an operator appears in an expression.
7

SYNOPSIS

9       #include "abl101.h"
10       int isabloperinexpr( Expr, Oper )
11         chain_list ∗Expr;
12         long        Oper;
13

PARAMETERS

15       Expr                Expression where to search.
16
17       Oper                Operator to search.
18

DESCRIPTION

20       isabloperinexpr tests if Oper appears in Expr.
21

RETURN VALUE

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

EXAMPLE

26       #include "abl101.h"
27         chain_list ∗Expr;
28          Expr = createablbinexpr( ABL_AND,
29                                   createablatom( "a" ),
30                                   createablatom( "b" ) );
31          /* displays   1 */
32          printf( "%d", isabloperinexpr( Expr, ABL_AND ) );
33

SEE ALSO

35       abl(1)
36
37
38
39
40
41
42ASIM/LIP6                       October 1, 1997             ISABLOPERINEXPR(3)
Impressum