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

NAME

6       getablexprlength - gives the length of an expression.
7

SYNOPSIS

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

PARAMETERS

14       Expr                Expression.
15

DESCRIPTION

17       getablexprlength gives the length of an expression.
18

RETURN VALUE

20       getablexprlength returns the length 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 2 */
31          printf( "%d", getablexprlength( ExprAorB ) );
32

SEE ALSO

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