1SIMPABLEXPR(3) ABL FUNCTIONS SIMPABLEXPR(3)
2
3
4
6 simpablexpr - simplies an expression.
7
9 #include "abl101.h"
10 chain_list ∗simpablexpr( Expr )
11 chain_list ∗Expr;
12
14 Expr Expression to simplfy.
15
17 simpablexpr simplifies Expr. The expression pointer Expr MUSTN'T be
18 used after the call to this function.
19
21 simpablexpr returns a pointer to the simplied expression.
22
24 #include "abl101.h"
25 chain_list ∗Expr;
26 Expr = createablbinexpr( ABL_AND,
27 createablatom( "'0'" ),
28 createablatom( "'1'" ) );
29 Expr = simpablexpr( Expr );
30 /* displays '0' */
31 viewablexpr( Expr, ABL_VIEW_VHDL );
32
34 abl(1), simpdupablexpr(3).
35
36
37
38
39
40
41ASIM/LIP6 October 1, 1997 SIMPABLEXPR(3)