1GETABLEXPRNUMBINOPER(3) ABL FUNCTIONS GETABLEXPRNUMBINOPER(3)
2
3
4
6 getablexprnumbinoper - gives the number of binary operators in an
7 expression.
8
10 #include "abl101.h"
11 long getablexprnumbinoper( Expr )
12 chain_list ∗Expr;
13
15 Expr Expression.
16
18 getablexprnumbinoper gives the number of binary operators in Expr.
19
21 getablexprnumbinoper returns the number of binary operators in Expr.
22
24 #include "abl101.h"
25 chain_list ∗Expr;
26 Expr = createablbinexpr( ABL_AND,
27 createablatom( "'0'" ),
28 createablatom( "'1'" ) );
29 /* displays 1 */
30 printf( "%d", getablexprnumbinoper( Expr ) );
31
33 abl(1)
34
35
36
37
38
39
40ASIM/LIP6 October 1, 1997 GETABLEXPRNUMBINOPER(3)