delablexprnum.3alc man page

delablexprnum — deletes an operand in an expression.

Synopsis

#include "abl101.h"
void delablexprnum( Expr, Number )
  chain_list ∗Expr;
  int         Number;

Parameters

Expr

Expression where to delete an operand.

second_param

Operand number.

Description

delablexprnum deletes the operand Number + 1 in Expr.

Return Value

delablexprnum returns nothing.

Example

#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 );

See Also

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

Referenced By

delablexpr.3alc(3).

October 1, 1997 ASIM/LIP6 ABL FUNCTIONS