Table of Contents
andDescriptionThe boolean 'and' function returns true if both of its two boolean arguments are true. Function prototypebool and <bool:arg1> <bool:arg2> Arguments
Return valueTrue if both arg1 and arg2 are true, and false otherwise. Example// create two new boolean variables... bool b1 bool b2 // ...and set one to true and one to false set b1 true set b2 false // call 'and b1 b2', and pipe result to event log via echo echo <zs:and b1 b2> … the output of which is written to the event log by echo as: false CommentsBoth arguments are evaluated
Unlike other languages such as C/C++, both arguments to the See alsoExcept where otherwise noted, content on this wiki is licensed under the following license:CC Attribution-Share Alike 3.0 Unported
|