 |
ALPHA-VISION® Bit Operations: AndBits
|
AndBits
SUMMARY
AndBits - Calculates the bit wise AND gating of the given arguments
SYNTAX
AndBits(
<arg1, arg2, ...>);
ARGUMENTS
- arg1 ...argN (type:integer)
-
The operands of the AND gating.
DESCRIPTION
Stack
- Missing arguments are taken from the stack (and removed from there).
- The result is pushed onto the stack.
Effect
Calculates the bit wise AND gating of the given arguments, whereby there are interpreted as integer numbers
arg1 AND arg2 AND ... AND argN
EXAMPLES
//Stack before (2 Elemente):
//"0xff"
//TRUE //interpreted as 1
AndBits(,0x99, );
//Stack afterwards (1 Element):
//0x01
Syntax Notation
- [aaa]
- aaa is optional (zero or one occurences)
- (aaa|bbb)
- aaa exclusive or bbb
- (aaa)*
- aaa may occur indefinitely often or may be omitted
- (aaa)+
- aaa may occur indefinitely often but at least once
- (aaa)m..n
- aaa may occur from m to n times