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

# viewablexprfile(3)

displays an expression in a file.

## NAME

viewablexprfile - displays an expression in a file.

## SYNOPSYS

```
#include "abl101.h"
void viewablexprfile( AblFile, Expr, Mode )
  FILE       ∗AblFile;
  chain_list ∗Expr;
  int         Mode;
```

## PARAMETERS

- *AblFile*

  The target file.

- *Expr*

  Expression to display.

- *Mode*

  The notation type.

## DESCRIPTION

**viewablexprfile** displays *Expr* in the file *AblFile*  with the notation specified by *Mode*. The following notation types are available ABL\_VIEW\_INFIX, ABL\_VIEW\_PREFIX, ABL\_VIEW\_POSTFIX or ABL\_VIEW\_VHDL.\

## RETURN VALUE

**viewablexprfile** 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) */
  viewablexprfile( stderr, Expr, ABL_VIEW_VHDL );
```

## SEE ALSO

[**abl**(1)](/abl/1.md), **[viewablexprstr(3)](/viewablexprstr/3.md),** **[viewablexpr(3)](/viewablexpr/3.md).**
