$eql fails to output true when expected even though its result is interpreted as expected by $if.
Help says: returns true, if x equals y.
but from "$eql(1,1)" expected "true", got "".
From "$if($eql(1,1),true,false)" expected "true", got "true".
That from the following Export script:
Help says: $eql(x,y) returns true, if x equals y.
but from "$eql(1,1)" expected "true", got "".
From "$if($eql(1,1),true,false)" expected "true", got "true".
simply returns nothing for itself (but an imaginary invisible value of trueness), but that can't be true, because help files says that $if2 returns the value of the first parameter, if it is 'true'.
Those boolean functions should always return manifest values like 0 for false and 1 for true to allow mathematical calculations and so on.