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

# getablexprnumatom(3)

gives the number of atom in an expression.

## NAME

getablexprnumatom - gives the number of atom in an expression.

## SYNOPSYS

```
#include "abl101.h"
long getablexprnumatom( Expr )
  chain_list ∗Expr;
```

## PARAMETERS

- *Expr*

  Expression.

## DESCRIPTION

**getablexprnumatom** gives the number of atom in *Expr*.\

## RETURN VALUE

**getablexprnumatom** returns the number of atom in *Expr*.

## EXAMPLE

```
#include "abl101.h"
  chain_list ∗Expr;
  Expr = createablbinexpr( ABL_AND,
                           createablatom( "'0'" ),
                           createablatom( "'1'" ) );
  /* displays 2 */
  printf( "%d", getablexprnumatom( Expr ) );
```

## SEE ALSO

[**abl**(1)](/abl/1.md)
