Command: and

NEST HelpDesk Command Index NEST Quick Reference

Name:
 and - logical and operator.
Synopsis:
 bool1 bool2 and -> bool
          int1  int2  and -> int
Description:
 For booleans, and returns true if both arguments are true
             For integer arguments, and performs a bit-wise and between 
             the two integers.

Examples:
 true true and -> true
          10   24   and -> 8
SeeAlso:or xor not
Source:
 /home/abuild/rpmbuild/BUILD/nest-2.4.1/sli/slimath.cc

NEST HelpDesk Command Index NEST Quick Reference

© 2000-2010 The NEST Initiative