isablnameinexpr3
Oper
isablnameinexpr - tests if a name appears in an expression.
Synopsys
#include "abl101.h" int isablnameinexpr( Expr, Name ) chain_list ∗Expr; char ∗Name;
Parameters
Expr
|
Expression where to search. |
|---|---|
Name
|
Name to search. |
Overview
isablnameinexpr tests if Name appears in Expr.
Return value
isablnameinexpr returns 1 if Name appears in Expr and 0 otherwise.
Examples
#include "abl101.h"
chain_list ∗Expr;
Expr = createablbinexpr( ABL_AND,
createablatom( "a" ),
createablatom( "b" ) );
/* displays 1 */
printf( "%d", isablnameinexpr( Expr, "a" ) );
Releases
4 releases since Debian 7 (Wheezy); the text changed 1 time.