Key Pages: [ Rope Home Page | Basics (tutorial) | Language Reference | Download ]
The "and" action pops two or more (with AnchorBrackets) values, ANDs them together, bit by bit and returns the result. This can be used for both logical "and-ing" of conditions, and bit-wise operations on integers or strings.
If the arguments to "and" are strings, then they must be the same length and the result (the value pushed back) will also be a string of that length.
For example..
if( $a 10 eq $b 20 eq and { println("got it") } )
$a 0x0400 and assert
and($a 0x0400 $b) assert
Lowth.com: [ Home | Rope | P2PWall | LinWiz | cutter | Protector - Free Antivirus software | TapeIO ]