charToOper(2)

ORIGIN
Cao-vlsi libraries, log package, libablmmm.a

NAME
charToOper - converts an operator string into an operator number

SYNOPSIS
#include "logmmm.h"
short charToOper(name)
char *name;

PARAMETER

name
    Operator char *.

DESCRIPTION
charToOper() returns the operator number associated to name. If there's no associated value, the function returns -1.

EXAMPLE
#include "mutnnn.h"		/* mbk utilities */
#include "logmmm.h"
printf("OR = %d   ",charToOper("OR"));
printf("AND = %d",charToOper("AND"));
/* it will display
OR = 0   AND = 1
*/

SEE ALSO
log(1), abl(1), operToChar(2), displayExpr(2), displayInfExpr(2), exprToChar(2), identExpr(2).

SUPPORT STATUS
if bugs arise, please e-mail to cao-vlsi@masi.ibp.fr