1VIEWABLEXPR(3) ABL FUNCTIONS VIEWABLEXPR(3)
2
3
4
6 viewablexpr - displays an expression.
7
9 #include "abl101.h"
10 void viewablexpr( Expr, Mode )
11 chain_list ∗Expr;
12 int Mode;
13
15 Expr Expression to display.
16
17 Mode The notation type.
18
20 viewablexpr displays Expr in the notation specified by Mode. The fol‐
21 lowing notation types are available ABL_VIEW_INFIX, ABL_VIEW_PREFIX,
22 ABL_VIEW_POSTFIX or ABL_VIEW_VHDL.
23
25 viewablexpr returns nothing.
26
28 #include "abl101.h"
29 chain_list ∗Expr;
30 Expr = createabloper( ABL_OR );
31 addablhexpr( Expr, createablatom( "a" ) );
32 addablhexpr( Expr, createablatom( "b" ) );
33 /* displays (a or b) */
34 viewablexpr( Expr, ABL_VIEW_VHDL );
35
37 abl(1), viewablexprstr(3), viewablexprfile(3).
38
39
40
41
42
43
44ASIM/LIP6 October 1, 1997 VIEWABLEXPR(3)