1GETABLEXPRNUM(3) ABL FUNCTIONS GETABLEXPRNUM(3)
2
3
4
6 getablexprnum - gives a specified operand of an expression.
7
9 #include "abl101.h"
10 chain_list ∗getablexprnum( Expr, Number )
11 chain_list ∗Expr;
12 int Number;
13
15 Expr Expression.
16
17 Number Operand number.
18
20 getablexprnum gives the operand Number of Expr.
21
23 getablexprnum returns the operand Number of Expr.
24
26 #include "abl101.h"
27 chain_list ∗Expr;
28 Expr = createablbinexpr( ABL_AND,
29 createablatom( "a" ),
30 createablatom( "b" ) );
31 /* displays b */
32 viewablexpr( getablexprnum( Expr, 1 ), ABL_VIEW_VHDL );
33
35 abl(1)
36
37
38
39
40
41
42ASIM/LIP6 October 1, 1997 GETABLEXPRNUM(3)