1ISABLNAMEINEXPR(3) ABL FUNCTIONS ISABLNAMEINEXPR(3)
2
3
4
6 isablnameinexpr - tests if a name appears in an expression.
7
9 #include "abl101.h"
10 int isablnameinexpr( Expr, Name )
11 chain_list ∗Expr;
12 char ∗Name;
13
15 Expr Expression where to search.
16
17 Name Name to search.
18
20 isablnameinexpr tests if Name appears in Expr.
21
23 isablnameinexpr returns 1 if Name appears in Expr and 0 otherwise.
24
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
35 abl(1)
36
37
38
39
40
41
42ASIM/LIP6 October 1, 1997 ISABLNAMEINEXPR(3)