isablbinaryoper(3) tests if an operator is binary.

SYNOPSYS

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

PARAMETERS

Oper
Operator number.

DESCRIPTION

isablbinaryoper tests if Oper is binary.

RETURN VALUE

isablbinaryoper returns 1 if Oper is binary, -1 if Oper is not a valid number, and 0 otherwise.

EXAMPLE

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