viewablexprfile.3alc man page

viewablexprfile — displays an expression in a file.

Synopsis

#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), viewablexprstr(3), viewablexpr(3).

Referenced By

viewablexpr.3alc(3), viewablexprstr.3alc(3).

October 1, 1997 ASIM/LIP6 ABL FUNCTIONS