And

and true-or-false1 true-or-false2

(and true-or-false1 true-or-false2 true-or-false3...)

Reports true if all its inputs report true. If more than two inputs are used, and and its inputs must be enclosed in parentheses. See or and not.

Examples:

show and 2 = 2 3 = 5

false

cg

show and pos = [0 0] heading = 0

true

show (and 2 = 2 5 = 5  6 = 6)

true