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

NAME

6       getablexprdepth - gives the depth of an expression.
7

SYNOPSIS

9       #include "abl101.h"
10       long getablexprdepth( Expr )
11         chain_list ∗Expr;
12

PARAMETERS

14       Expr                Expression.
15

DESCRIPTION

17       getablexprdepth gives the depth of an expression.
18

RETURN VALUE

20       getablexprdepth returns the depth of Expr.
21

EXAMPLE

23       #include "abl101.h"
24          chain_list ∗ExprA;
25          chain_list ∗ExprB;
26          chain_list ∗ExprAorB;
27          ExprA = createablatom( "a" );
28          ExprB = createablatom( "b" );
29          ExprAorB  = createablbinexpr( ABL_OR, ExprA, ExprB );
30          /* displays 1 */
31          printf( "%d", getablexprdepth( ExprAorB ) );
32

SEE ALSO

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