isablunaryoper.3alc - Man Page

tests if an operator is unary.

Synopsis

#include "abl101.h"
int isablunaryoper( Oper )
  long Oper;

Parameters

Oper

Operator number.

Description

isablunaryoper tests if Oper is unary.

Return Value

isablunaryoper returns 1 if Oper is unary, -1 if Oper is not a valid number, and 0 otherwise.

Example

#include "abl101.h"
  /* displays    0 1 */
  printf( "%d  ", isablunaryoper( ABL_OR  ) );
  printf( "%d0, isablunaryoper( ABL_NOT ) );

See Also

abl(1)

Info

October 1, 1997 ASIM/LIP6 ABL FUNCTIONS