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

NAME

6       simpablexpr - simplies an expression.
7

SYNOPSIS

9       #include "abl101.h"
10       chain_list ∗simpablexpr( Expr )
11         chain_list ∗Expr;
12

PARAMETERS

14       Expr                Expression to simplfy.
15

DESCRIPTION

17       simpablexpr  simplifies  Expr.   The expression pointer Expr MUSTN'T be
18       used after the call to this function.
19

RETURN VALUE

21       simpablexpr returns a pointer to the simplied expression.
22

EXAMPLE

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

SEE ALSO

34       abl(1), simpdupablexpr(3).
35
36
37
38
39
40
41ASIM/LIP6                       October 1, 1997                 SIMPABLEXPR(3)
Impressum