DUPABLEXPR(3) | ABL FUNCTIONS | DUPABLEXPR(3) |
dupablexpr - duplicates an expression.
See the file buster/alliance/alc_origin.1.en.gz.
#include "abl101.h" chain_list ∗dupablexpr( Expr )
chain_list ∗Expr;
dupablexpr duplicates the expression Expr.
dupablexpr returns the duplicated expression.
#include "abl101.h"
chain_list ∗ExprAorB;
chain_list ∗ExprAnorB;
ExprAorB = createabloper( ABL_OR );
addablhexpr( ExprAorB, createablatom( "a" ) );
addablhexpr( ExprAorB, createablatom( "b" ) );
ExprAnorB = createablnotexpr( dupablexpr( ExprAorB ) );
/* displays (a or b) (a nor b) */
viewablexpr( ExprAorB, ABL_VIEW_VHDL );
viewablexpr( ExprAnorB, ABL_VIEW_VHDL );
abl(1), delablexpr(3), freeablexpr(3).
See the file buster/alliance/alc_bug_report.1.en.gz.
October 1, 1997 | ASIM/LIP6 |