getablexprnumocc

Langue: en

Version: October 1, 1997 (fedora - 05/07/09)

Section: 3 (Bibliothèques de fonctions)

NAME

getablexprnumocc - how many times a name appears in an expression.
man2html: unable to open or read file man1/alc_origin.1

SYNOPSYS

 #include "abl101.h"
 long getablexprnumocc( Expr, Name )
   chain_list *Expr;
   char       *Name;
 

PARAMETERS

Expr
Expression.
Name
Name to find.

DESCRIPTION

getablexprnumocc gives the number of occurents of Name in Expr.

RETURN VALUE

getablexprnumocc returns number of occurents of Name in Expr.

EXAMPLE

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

SEE ALSO

abl(1)
man2html: unable to open or read file man1/alc_bug_report.1