getablexprnumatom.3alc - Man Page

gives the number of atom in an expression.

Synopsis

#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)

Info

October 1, 1997 ASIM/LIP6 ABL FUNCTIONS