1GETABLEXPRNUMATOM(3) ABL FUNCTIONS GETABLEXPRNUMATOM(3)
2
3
4
6 getablexprnumatom - gives the number of atom in an expression.
7
9 #include "abl101.h"
10 long getablexprnumatom( Expr )
11 chain_list ∗Expr;
12
14 Expr Expression.
15
17 getablexprnumatom gives the number of atom in Expr.
18
20 getablexprnumatom returns the number of atom in Expr.
21
23 #include "abl101.h"
24 chain_list ∗Expr;
25 Expr = createablbinexpr( ABL_AND,
26 createablatom( "'0'" ),
27 createablatom( "'1'" ) );
28 /* displays 2 */
29 printf( "%d", getablexprnumatom( Expr ) );
30
32 abl(1)
33
34
35
36
37
38
39ASIM/LIP6 October 1, 1997 GETABLEXPRNUMATOM(3)