eval_binary

one of the documented procedures in this installation of the ACS
Usage:
eval_binary   f   a   b
What it does:
Evaluates f a b. f can also be an operator.
Defined in: /web/philip/tcl/ad-functional.tcl

Source code:


    if { [regexp \[a-z\] $f match] } {
	# Seems that "f" is a function (because the name contains letters).
	eval "$f {$a} {$b}"
    } else {
	# Seems that "f" is an infix operator like "+", "*" or "||".
	expr $a $f $b
    }


philg@mit.edu