getablexprnum.3alc - Man Page
gives a specified operand of an expression.
Synopsis
#include "abl101.h" chain_list ∗getablexprnum( Expr, Number ) chain_list ∗Expr; int Number;
Parameters
- Expr
Expression.
- Number
Operand number.
Description
getablexprnum gives the operand Number of Expr.
Return Value
getablexprnum returns the operand Number of Expr.
Example
#include "abl101.h"
chain_list ∗Expr;
Expr = createablbinexpr( ABL_AND,
createablatom( "a" ),
createablatom( "b" ) );
/* displays b */
viewablexpr( getablexprnum( Expr, 1 ), ABL_VIEW_VHDL );See Also
Info
October 1, 1997 ASIM/LIP6 ABL FUNCTIONS