1CREATEABLATOM(3) ABL FUNCTIONS CREATEABLATOM(3)
2
3
4
6 createablatom - creates an atomic expression.
7
9 #include "abl101.h"
10 chain_list ∗createablatom( Atom )
11 char ∗Atom;
12
14 Atom Name of the atom.
15
17 createablatom creates an atomic expression with the name Atom. This
18 function uses namealloc with Atom as parameter.
19
21 createablatom returns a pointer to the new atomic expression.
22
24 #include "abl101.h"
25 chain_list ∗ExprA;
26 chain_list ∗ExprB;
27 chain_list ∗ExprAorB;
28 ExprA = createablatom( "a" );
29 ExprB = createablatom( "b" );
30 ExprAorB = createablbinexpr( ABL_OR, ExprA, ExprB );
31
33 abl(1), createabloper(3), createablnotexpr(3), createablbinexpr(3),
34 createablunaryexpr(3), createablxorbinexpr(3), addablhexpr(3), addablq‐
35 expr(3).
36
37
38
39
40
41
42ASIM/LIP6 October 1, 1997 CREATEABLATOM(3)