addablhexpr.3alc man page

addablhexpr — adds a new argument in head of an expression.

Synopsis

#include "abl101.h"
void addablhexpr( Expr1, Expr2 )
  chain_list *Expr1;
  chain_list *Expr2;

Parameters

Expr1

First expression.

Expr2

Second expression.

Description

addablhexpr adds Expr2 in head of Expr1. The expression pointers Expr2 MUSTN'T be used after the call to this function

Return Value

addablhexpr returns nothing.

Example

#include "abl101.h"
  chain_list ∗Expr;
  Expr = createabloper( ABL_OR );
  addablhexpr( Expr, createablatom( "a" ) );
  addablhexpr( Expr, createablatom( "b" ) );
  /* displays (a or b) */
  viewablexpr( Expr, ABL_VIEW_VHDL );

See Also

abl(1) createablatom(3), createabloper(3), createablxorbinexpr(3), createablunaryexpr(3), createablbinexpr(3), createablnotexpr(3), addablqexpr(3).

Referenced By

addablqexpr.3alc(3), createablatom.3alc(3), createablbinexpr.3alc(3), createablnotexpr.3alc(3), createabloper.3alc(3), createablunaryexpr.3alc(3), createablxorbinexpr.3alc(3).

October 1, 1997 ASIM/LIP6 ABL FUNCTIONS