1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56
|
.\" $Id: viewablexpr.3,v 1.1.1.1 2002/03/18 11:06:16 ludo Exp $
.\" @(#)viewablexpr.2 2.7 96/07/02 ; Labo masi cao-vlsi; Author : Jacomme Ludovic
.TH VIEWABLEXPR 3 "October 1, 1997" "ASIM/LIP6" "ABL FUNCTIONS"
.SH NAME
viewablexpr \- displays an expression.
.so man1/alc_origin.1
.SH SYNOPSYS
.nf
.if n \{\
.ft B \}
.if t \{\
.ft CR \}
#include "abl101.h"
void viewablexpr( Expr, Mode )
chain_list \(**Expr;
int Mode;
.ft R
.fi
.SH PARAMETERS
.TP 20
\fIExpr\fP
Expression to display.
.TP
\fIMode\fP
The notation type.
.SH DESCRIPTION
\fBviewablexpr\fP displays \fIExpr\fP in the notation specified
by \fIMode\fP. The following notation types are available
ABL_VIEW_INFIX, ABL_VIEW_PREFIX, ABL_VIEW_POSTFIX or ABL_VIEW_VHDL.
.br
.SH RETURN VALUE
\fBviewablexpr\fP returns nothing.
.SH EXAMPLE
.ta 3n 6n 9n 12n 15n 18n 21n
.nf
.if n \{\
.ft B \}
.if t \{\
.ft CR \}
#include "abl101.h"
chain_list \(**Expr;
Expr = createabloper( ABL_OR );
addablhexpr( Expr, createablatom( "a" ) );
addablhexpr( Expr, createablatom( "b" ) );
/* displays (a or b) */
viewablexpr( Expr, ABL_VIEW_VHDL );
.ft R
.fi
.SH SEE ALSO
.BR abl (1),
.BR viewablexprstr(3),
.BR viewablexprfile(3).
.so man1/alc_bug_report.1
|