Evaluating boolean expressions



Holger Schulz escribi?:
> Numeric expressions are evaluated, like
>
> (%i37) 5-3;
>
> (%o37) 2
>
> but that doesn't work for boolean expression. I expected 5>3 to be  
> evaluated to true. But it wasn't:
>
>
> (%i42) 5>3;
>
> (%o42) 5>3
>
> Is there any trick to force the evaluation of boolean expressions?
>
>   
try

is(5>3);



The 'is' command is not necessary in other contexts:

if 5>3 then 1 else 0;

or

5>3 or 2>4;

-- 
Mario Rodriguez Riotorto
www.biomates.net