and

operand1 and operand2

If operand1 is False, the expression is False. Otherwise, the expression is True if operand2 is True and False if not.

Note that operand2 is evaluated only if operand1 is True. For example, the following evaluates to False:

  5 > 6 and func_that_loops_forever()

Herman Venter

This is Slim documentation as snarfed on 27 May 1999 by dB.