DOKK / manpages / debian 10 / alliance / delablexprnum.3.en
DELABLEXPRNUM(3) ABL FUNCTIONS DELABLEXPRNUM(3)

delablexprnum - deletes an operand in an expression.

See the file buster/alliance/alc_origin.1.en.gz.

#include "abl101.h"
void delablexprnum( Expr, Number )

chain_list ∗Expr;
int Number;

Expression where to delete an operand.
Operand number.

delablexprnum deletes the operand Number + 1 in Expr.

delablexprnum returns nothing.

#include "abl101.h"

chain_list ∗ExprA;
chain_list ∗ExprB;
chain_list ∗ExprC;
chain_list ∗ExprAorBorC;
ExprA = createablatom( "a" );
ExprB = createablatom( "b" );
ExprC = createablatom( "c" );
ExprAorBorC = createablbinexpr( ABL_OR, ExprA, ExprB );
ExprAorBorC = createablbinexpr( ABL_OR, ExprAorBorC, ExprC );
...
delablexprnum( ExprAorBorC, 2 );
/* displays (a or b) */
viewablexpr( ExprAorBorC, ABL_VIEW_VHDL );

abl(1), freeablexpr(3), delablexpr(3).

See the file buster/alliance/alc_bug_report.1.en.gz.

October 1, 1997 ASIM/LIP6