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

# getablexprnumbinoper(3)

gives the number of binary operators in an expression.

## NAME

getablexprnumbinoper - gives the number of binary operators in an expression.

## SYNOPSYS

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

## PARAMETERS

- *Expr*

  Expression.

## DESCRIPTION

**getablexprnumbinoper** gives the number of binary operators in *Expr*.\

## RETURN VALUE

**getablexprnumbinoper** returns the number of binary operators in *Expr*.

## EXAMPLE

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

## SEE ALSO

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