Provided by: alliance_5.0-20110203-4_amd64 bug

NAME

       delablexprnum - deletes an operand in an expression.

SYNOPSYS

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