1CREATEABLUNARYEXPR(3)            ABL FUNCTIONS           CREATEABLUNARYEXPR(3)
2
3
4

NAME

6       createablunaryexpr - creates an unary operator expression.
7

SYNOPSIS

9       #include "abl101.h"
10       chain_list ∗createablunaryexpr( Oper, Expr )
11         long        Oper;
12         chain_list ∗Expr;
13

PARAMETERS

15       Oper                The unary operator number.
16
17       Expr                Expression.
18

DESCRIPTION

20       createablunaryexpr creates the unary operator expression Operator Expr.
21       createablbinexpr combines eventualy the operator of Expr with Operator.
22       The  expression  pointer  Expr  MUSTN'T  be used after the call to this
23       function.
24

RETURN VALUE

26       createablunaryexpr returns a pointer to the new operator expression.
27

ERRORS

29       "ablcreate: bad operator xx !",
30              Operator must be defined and must be a unary operator.
31

EXAMPLE

33       #include "abl101.h"
34          chain_list ∗ExprA;
35          chain_list ∗ExprB;
36          chain_list ∗ExprAorB;
37          chain_list ∗ExprAnorB;
38          ExprA = createablatom( "a" );
39          ExprB = createablatom( "b" );
40          ExprAorB  = createablbinexpr( ABL_OR, ExprA, ExprB );
41          ExprAnorB = createablunaryexpr( ABL_NOT, ExprAorB );
42

SEE ALSO

44       abl(1) createablatom(3), createabloper(3), createablnotexpr(3), create‐
45       ablbinexpr(3), createablxorbinexpr(3), addablhexpr(3), addablqexpr(3).
46
47
48
49
50
51
52ASIM/LIP6                       October 1, 1997          CREATEABLUNARYEXPR(3)
Impressum