1ISABLEQUALEXPR(3) ABL FUNCTIONS ISABLEQUALEXPR(3)
2
3
4
6 isablequalexpr - tests if two expressions are strictly identicals.
7
9 #include "abl101.h"
10 int isablequalexpr( Expr1, Expr2 )
11 chain_list ∗Expr1;
12 chain_list ∗Expr2;
13
15 Expr1 First expression.
16
17 Expr2 Second expression.
18
20 isablequalexpr compares Expr1 and Expr2.
21
23 if Expr1 and Expr2 are strictly identicals isablequalexpr returns 1 and
24 0 otherwise.
25
27 #include "abl101.h"
28 chain_list ∗Expr1;
29 chain_list ∗Expr2;
30 Expr1 = createablbinexpr( ABL_AND,
31 createablatom( "a" ),
32 createablatom( "b" ) );
33 Expr2 = createablbinexpr( ABL_AND,
34 createablatom( "a" ),
35 createablatom( "b" ) );
36 /* displays 1 */
37 printf( "%d", isablequalexpr( Expr1, Expr2 ) );
38
40 abl(1)
41
42
43
44
45
46
47ASIM/LIP6 October 1, 1997 ISABLEQUALEXPR(3)