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

OPER

6       isablnameinexpr - tests if a name appears in an expression.
7

SYNOPSIS

9       #include "abl101.h"
10       int isablnameinexpr( Expr, Name )
11         chain_list ∗Expr;
12         char       ∗Name;
13

PARAMETERS

15       Expr                Expression where to search.
16
17       Name                Name to search.
18

DESCRIPTION

20       isablnameinexpr tests if Name appears in Expr.
21

RETURN VALUE

23       isablnameinexpr returns 1 if Name 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", isablnameinexpr( Expr, "a" ) );
33

SEE ALSO

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