DOKK / manpages / debian 10 / alliance / getablexprnumocc.3.en
GETABLEXPRNUMOCC(3) ABL FUNCTIONS GETABLEXPRNUMOCC(3)

getablexprnumocc - how many times a name appears in an expression.

See the file buster/alliance/alc_origin.1.en.gz.

#include "abl101.h"
long getablexprnumocc( Expr, Name )

chain_list ∗Expr;
char ∗Name;

Expression.
Name to find.

getablexprnumocc gives the number of occurents of Name in Expr.

getablexprnumocc returns number of occurents of Name in Expr.

#include "abl101.h"

chain_list ∗Expr;
Expr = createablbinexpr( ABL_AND,
createablatom( "a" ),
createablatom( "b" ) );
/* displays 1 */
printf( "%d", getablexprnumocc( Expr, "a" ) );

abl(1)

See the file buster/alliance/alc_bug_report.1.en.gz.

October 1, 1997 ASIM/LIP6