Command: or

NEST HelpDesk Command Index NEST Quick Reference

Name:
 or - logical or operator.
Synopsis:
 bool1 bool2 or -> bool
          int1  int2  or -> int

Description:
 For booleans, or returns true, if either,
             the arguments are true and false
	     otherwise.
             For integers, or performs a bitwise or between the
             two arguments.

Examples:
 true  false or -> true
          true  true  or -> true
          false false or -> false
          2     8     or -> 10
          1     0     or -> 1
SeeAlso:and or 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