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

NAME

6       delablexprnum - deletes an operand in an expression.
7

SYNOPSIS

9       #include "abl101.h"
10       void delablexprnum( Expr, Number )
11         chain_list ∗Expr;
12         int         Number;
13

PARAMETERS

15       Expr                Expression where to delete an operand.
16
17       second_param        Operand number.
18

DESCRIPTION

20       delablexprnum deletes the operand Number + 1 in Expr.
21

RETURN VALUE

23       delablexprnum returns nothing.
24

EXAMPLE

26       #include "abl101.h"
27          chain_list ∗ExprA;
28          chain_list ∗ExprB;
29          chain_list ∗ExprC;
30          chain_list ∗ExprAorBorC;
31          ExprA = createablatom( "a" );
32          ExprB = createablatom( "b" );
33          ExprC = createablatom( "c" );
34          ExprAorBorC = createablbinexpr( ABL_OR, ExprA, ExprB );
35          ExprAorBorC = createablbinexpr( ABL_OR, ExprAorBorC, ExprC );
36          ...
37          delablexprnum( ExprAorBorC, 2 );
38          /* displays (a or b) */
39          viewablexpr( ExprAorBorC, ABL_VIEW_VHDL );
40

SEE ALSO

42       abl(1), freeablexpr(3), delablexpr(3).
43
44
45
46
47
48
49ASIM/LIP6                       October 1, 1997               DELABLEXPRNUM(3)
Impressum