OrBits

SUMMARY

OrBits - Calculates the bit wise OR gating of the given arguments

SYNTAX

OrBits(<arg1, arg2, ...>);

ARGUMENTS

arg1 ...argN (type:integer)
The operands of the OR gating.

DESCRIPTION

Stack
  1. Missing arguments are taken from the stack (and removed from there)
  2. The result is pushed onto the stack.

Effect
Calculates the bit wise OR gating of the given arguments, whereby there are interpreted as integer numbers:
arg1 OR arg2 OR ... OR argN

EXAMPLES

//Stack before (2 Elements):
//"0xff00"
//TRUE //Interpreted as 1
OrBits(,0x10, );
//Stack afterwards (1 Element):
//0xff11	


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