viewablexpr - displays an expression.
See the file man1/alc_origin.1.
#include "abl101.h"
void viewablexpr( Expr, Mode )
chain_list ∗Expr;
int Mode;
- Expr
- Expression to display.
- Mode
- The notation type.
viewablexpr displays
Expr in the notation specified by
Mode. The following notation types are available ABL_VIEW_INFIX,
ABL_VIEW_PREFIX, ABL_VIEW_POSTFIX or ABL_VIEW_VHDL.
viewablexpr returns nothing.
#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 );
abl(1),
viewablexprstr(3), viewablexprfile(3).
See the file man1/alc_bug_report.1.