NEST HelpDesk | Command Index | NEST Quick Reference |
or - logical or operator.Synopsis:
bool1 bool2 or -> boolExamples:
int1 int2 or -> int
true false or -> trueDescription:
true true or -> true
false false or -> false
2 8 or -> 10
1 0 or -> 1
For booleans, or returns true, if either,SeeAlso: Source:
the arguments are true and false
otherwise.
For integers, or performs a bitwise or between the
two arguments.
/builddir/build/BUILD/nest-simulator-2.14.0/sli/slimath.cc
NEST HelpDesk | Command Index | NEST Quick Reference |
© 2004 The NEST Initiative