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;
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" ) );
See the file buster/alliance/alc_bug_report.1.en.gz.
October 1, 1997 | ASIM/LIP6 |