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

FreeBSD Manual Pages

  
 
  

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

NAME
       getablexprdepth - gives the depth of an expression.

SYNOPSYS
       #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)

NAME | SYNOPSYS | PARAMETERS | DESCRIPTION | RETURN VALUE | EXAMPLE | SEE ALSO

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

home | help