Reference

isablequalexpr(3)

tests if two expressions are strictly identicals.

NAME

isablequalexpr - tests if two expressions are strictly identicals.

SYNOPSYS

#include "abl101.h"
int isablequalexpr( Expr1, Expr2 )
  chain_list ∗Expr1;
  chain_list ∗Expr2;

PARAMETERS

Expr1

First expression.

Expr2

Second expression.

DESCRIPTION

isablequalexpr compares Expr1 and Expr2.

RETURN VALUE

if Expr1 and Expr2 are strictly identicals isablequalexpr returns 1 and 0 otherwise.

EXAMPLE

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

SEE ALSO

abl(1)

History