simpablexpr.3alc - Man Page

simplies an expression.

Synopsis

#include "abl101.h"
chain_list ∗simpablexpr( Expr )
  chain_list ∗Expr;

Parameters

Expr

Expression to simplfy.

Description

simpablexpr simplifies Expr.  The expression pointer Expr MUSTN'T be used after the call to this function.

Return Value

simpablexpr returns a pointer to the simplied expression.

Example

#include "abl101.h"
  chain_list ∗Expr;
  Expr = createablbinexpr( ABL_AND,
                           createablatom( "'0'" ),
                           createablatom( "'1'" ) );
  Expr = simpablexpr( Expr );
  /* displays '0' */
  viewablexpr( Expr, ABL_VIEW_VHDL );

See Also

abl(1), simpdupablexpr(3).

Info

October 1, 1997 ASIM/LIP6 ABL FUNCTIONS