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