 |
ALPHA-VISION® Logical Operations: And
|
And
SUMMARY
And - Calculates the logical AND gating of the given arguments
SYNTAX
And(
<arg1, arg2, ...>);
ARGUMENTS
- arg1 ...argN (type:bool)
-
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 logical AND gating of the given arguments, whereby there
are interpreted as boolean variables:
arg1 AND arg2 AND ... AND argN
EXAMPLES
//Stack before (3 Elements):
//"1"
//TRUE
//"c" //interpreted as Null and hence as FALSE
And(3,,4,, );
//Stack afterwards (1 Element):
//FALSE
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