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

NAME

6       createabloper - creates the head of an operator expression.
7

SYNOPSIS

9       #include "abl101.h"
10        chain_list ∗createabloper( Oper )
11         long Oper;
12

PARAMETERS

14       Oper                The operator number.
15

DESCRIPTION

17       createabloper  creates  the  head of an operator expression.  Arguments
18       can be added to this expression with the  addablhexpr  and  addablqexpr
19       functions.   Operator  can  take  the following values ABL_AND, ABL_OR,
20       ABL_AND, ABL_XOR, ABL_NOT,  ABL_NOR,  ABL_NAND,  ABL_NXOR,  ABL_STABLE,
21       ABL_AF, ABL_AG, ABL_AX, ABL_AU, ABL_EF, ABL_EG, ABL_EX, ABL_EU.
22

RETURN VALUE

24       createabloper returns a pointer to the new operator expression.
25

ERRORS

27       "ablcreate: bad operator xx !",
28              The operator number must be defined.
29

EXAMPLE

31       #include "abl101.h"
32         chain_list ∗Expr;
33         Expr = createabloper( ABL_OR );
34         addablhexpr( Expr, createablatom( "a" ) );
35         addablhexpr( Expr, createablatom( "b" ) );
36         /* displays (a or b) */
37         viewablexpr( Expr, ABL_VIEW_VHDL );
38

SEE ALSO

40       abl(1) createablatom(3), createablnotexpr(3), createablbinexpr(3), cre‐
41       ateablunaryexpr(3),  createablxorbinexpr(3),  addablhexpr(3),  addablq‐
42       expr(3).
43
44
45
46
47
48
49ASIM/LIP6                       October 1, 1997               CREATEABLOPER(3)
Impressum