isablnameinexpr.3alc - Man Page

Oper

isablnameinexpr - tests if a name appears in an expression.

Synopsis

#include "abl101.h"
int isablnameinexpr( Expr, Name )
  chain_list ∗Expr;
  char       ∗Name;

Parameters

Expr

Expression where to search.

Name

Name to search.

Description

isablnameinexpr tests if Name appears in Expr.

Return Value

isablnameinexpr returns 1 if Name appears in Expr and 0 otherwise.

Example

#include "abl101.h"
  chain_list ∗Expr;
   Expr = createablbinexpr( ABL_AND, 
                            createablatom( "a" ),
                            createablatom( "b" ) );
   /* displays   1 */
   printf( "%d", isablnameinexpr( Expr, "a" ) );

See Also

abl(1)

Info

October 1, 1997 ASIM/LIP6 ABL FUNCTIONS