Skip site navigation (1)Skip section navigation (2)

  
 
  

home | help
GETABLEXPRDEPTH(3)		  ABL FUNCTIONS 	      GETABLEXPRDEPTH(3)

NAME
     getablexprdepth - gives the depth of an expression.

SYNOPSIS
     #include "abl101.h"
     long getablexprdepth( Expr )
       chain_list *Expr;

PARAMETERS
     Expr		 Expression.

DESCRIPTION
     getablexprdepth gives the depth of an expression.

RETURN VALUE
     getablexprdepth returns the depth of Expr.

EXAMPLE
     #include "abl101.h"
	chain_list *ExprA;
	chain_list *ExprB;
	chain_list *ExprAorB;
	ExprA = createablatom( "a" );
	ExprB = createablatom( "b" );
	ExprAorB  = createablbinexpr( ABL_OR, ExprA, ExprB );
	/* displays 1 */
	printf( "%d", getablexprdepth( ExprAorB ) );

SEE ALSO
     abl(1)

ASIM/LIP6			 October 1, 1997	      GETABLEXPRDEPTH(3)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=getablexprdepth&sektion=3&manpath=FreeBSD+Ports+15.1.quarterly>

home | help