1ADDABLHEXPR(3) ABL FUNCTIONS ADDABLHEXPR(3)
2
3
4
6 addablhexpr - adds a new argument in head of an expression.
7
8
10 #include "abl101.h"
11 void addablhexpr( Expr1, Expr2 )
12 chain_list *Expr1;
13 chain_list *Expr2;
14
16 Expr1 First expression.
17
18 Expr2 Second expression.
19
21 addablhexpr adds Expr2 in head of Expr1. The expression pointers Expr2
22 MUSTN'T be used after the call to this function
23
25 addablhexpr returns nothing.
26
28 #include "abl101.h"
29 chain_list ∗Expr;
30 Expr = createabloper( ABL_OR );
31 addablhexpr( Expr, createablatom( "a" ) );
32 addablhexpr( Expr, createablatom( "b" ) );
33 /* displays (a or b) */
34 viewablexpr( Expr, ABL_VIEW_VHDL );
35
37 abl(1) createablatom(3), createabloper(3), createablxorbinexpr(3), cre‐
38 ateablunaryexpr(3), createablbinexpr(3), createablnotexpr(3), addablq‐
39 expr(3).
40
41
42
43
44
45
46ASIM/LIP6 October 1, 1997 ADDABLHEXPR(3)