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

NAME

6       viewablexpr - displays an expression.
7

SYNOPSIS

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

PARAMETERS

15       Expr                Expression to display.
16
17       Mode                The notation type.
18

DESCRIPTION

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

RETURN VALUE

25       viewablexpr returns nothing.
26

EXAMPLE

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

SEE ALSO

37       abl(1), viewablexprstr(3), viewablexprfile(3).
38
39
40
41
42
43
44ASIM/LIP6                       October 1, 1997                 VIEWABLEXPR(3)
Impressum