Skip site navigation (1)Skip section navigation (2)

  
 
  

home | help
CREATEABLUNARYEXPR(3)		  ABL FUNCTIONS 	   CREATEABLUNARYEXPR(3)

NAME
     createablunaryexpr - creates an unary operator expression.

SYNOPSIS
     #include "abl101.h"
     chain_list *createablunaryexpr( Oper, Expr )
       long	   Oper;
       chain_list *Expr;

PARAMETERS
     Oper		 The unary operator number.

     Expr		 Expression.

DESCRIPTION
     createablunaryexpr  creates  the  unary  operator expression Operator Expr.
     createablbinexpr combines eventualy the operator  of  Expr  with  Operator.
     The  expression  pointer  Expr MUSTN'T be used after the call to this func-
     tion.

RETURN VALUE
     createablunaryexpr returns a pointer to the new operator expression.

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

EXAMPLE
     #include "abl101.h"
	chain_list *ExprA;
	chain_list *ExprB;
	chain_list *ExprAorB;
	chain_list *ExprAnorB;
	ExprA = createablatom( "a" );
	ExprB = createablatom( "b" );
	ExprAorB  = createablbinexpr( ABL_OR, ExprA, ExprB );
	ExprAnorB = createablunaryexpr( ABL_NOT, ExprAorB );

SEE ALSO
     abl(1)  createablatom(3),	createabloper(3),  createablnotexpr(3),  create-
     ablbinexpr(3), createablxorbinexpr(3), addablhexpr(3), addablqexpr(3).

ASIM/LIP6			 October 1, 1997	   CREATEABLUNARYEXPR(3)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=createablunaryexpr&sektion=3&manpath=FreeBSD+Ports+15.1.quarterly>

home | help