GETABLEXPRDEPTH(3) | ABL FUNCTIONS | GETABLEXPRDEPTH(3) |
getablexprdepth - gives the depth of an expression.
See the file buster/alliance/alc_origin.1.en.gz.
#include "abl101.h" long getablexprdepth( Expr )
chain_list ∗Expr;
getablexprdepth gives the depth of an expression.
getablexprdepth returns the depth of Expr.
#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 the file buster/alliance/alc_bug_report.1.en.gz.
October 1, 1997 | ASIM/LIP6 |