---
name: "addablhexpr"
section: "3"
platform: "linux"
package: "alliance"
version: "5.1.1-3"
release: "Debian 10 (Buster)"
platforms: ["linux"]
url: "https://new.carta.tech/addablhexpr"
---

# addablhexpr(3)

adds a new argument in head of an expression.

## NAME

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

## SYNOPSYS

```
#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)](/abl/1.md) **[createablatom(3)](/createablatom/3.md),** **[createabloper(3)](/createabloper/3.md),** **[createablxorbinexpr(3)](/createablxorbinexpr/3.md),** **[createablunaryexpr(3)](/createablunaryexpr/3.md),** **[createablbinexpr(3)](/createablbinexpr/3.md),** **[createablnotexpr(3)](/createablnotexpr/3.md),** **[addablqexpr(3)](/addablqexpr/3.md).**
