Reference

isablbinaryoper(3)

tests if an operator is binary.

NAME

isablbinaryoper - 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( "%d0, isablbinaryoper( ABL_NOT ) );

SEE ALSO

abl(1)

History