[X] $and/$or failure


#1

$and and $or fail to return true when they should.

Help says: $and(x,y) returns true, if x and y are true (not 0 and not empty).
but from "$and(1,1)" expected "true", got "".
and from "$or(1,1)" expected "true", got "".

That's from the following Export script:

Help says: '$and(x,y) returns true, if x and y are true (not 0 and not empty).'
but from "'$and(1,1)'" expected "true", got "$and(1,1)".
and from "'$or(1,1)'" expected "true", got "$or(1,1)".

#2

Related to this topic.

Also marked as "No Bug".


#3

Related to this topic.

I think there is a separate issue here...

Also marked as "No Bug".

... e.g. $if($and(1,1),true,false) outputs false instead of true as expected.


#4

1 is not the manifestation of trueness :slight_smile:


#5

It is one of them:

Help: $and(x,y) returns true, if x and y are true (not 0 and not empty).


#6

Thanks. I'll remove the part in parentheses from the help.