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

NAME

6       isablsimilarexpr - tests if two expressions have the same morphology.
7

SYNOPSIS

9       #include "abl101.h"
10       int isablsimilarexpr( Expr1, Expr2 )
11         chain_list ∗Expr1;
12         chain_list ∗Expr2;
13

PARAMETERS

15       Expr1               First expression.
16
17       Expr2               Second expression.
18

DESCRIPTION

20       isablequalexpr compares Expr1 and Expr2.
21

RETURN VALUE

23       if  Expr1 and Expr2 have got the same morphology isablequalexpr returns
24       1 and 0 otherwise.
25

EXAMPLE

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( "c" ),
35                                    createablatom( "d" ) );
36          /* displays 1 */
37          printf( "%d", isablsimilarexpr( Expr1, Expr2 ) );
38

SEE ALSO

40       abl(1)
41
42
43
44
45
46
47ASIM/LIP6                       October 1, 1997            ISABLSIMILAREXPR(3)
Impressum