System Reference Summary : 3. System Classes : IntegerObject Class : IntegerObject Methods
 
Share this page                  
IntegerObject Methods
Method
Return
Value
Description
Inherited From
BitAnd(value = integer8)
integer8
Returns the result of a bitwise AND operation between the value of the IntegerObject and the value given as argument
Defined
BitAndNot(value = integer8)
integer8
Returns the result of a bitwise AND operation between the value of the IntegerObject and the result of a bitwise NOT operation (all bits inverted) on the value given as argument
Defined
BitClear(n = smallint)
integer8
Returns the value of the IntegerObject with the nth bit cleared (unset)
Defined
BitFlip(n = smallint)
integer8
Returns the value of the IntegerObject with the nth bit flipped (switched)
Defined
BitNot()
integer8
Returns the result of a bitwise NOT operation on the value of the IntegerObject. All bits get inverted (flipped).
Defined
BitOr(value = integer8)
integer8
Returns the result of a bitwise OR operation between the value of the IntegerObject and the value given as argument
Defined
BitSet(n = smallint)
integer8
Returns the value of the IntegerObject with the nth bit set
Defined
BitShift(n = smallint)
integer8
Returns the value of the IntegerObject with the bits shifted by n places. Sign extension is performed on a right shift (n>0), matching the behavior of C and Java.
Defined
BitTest(n = smallint)
integer1
Tests if a bit in the value of the IntegerObject is set
Defined
BitXor(value = integer8)
integer8
Returns the result of a bitwise XOR operation between the value of the IntegerObject and the value given as argument
Defined
Duplicate()
IntegerObject
Makes a duplicate of the object, placing a reference to the new object in a reference variable
Object
GetAttribute
(
attributename = byref(variable)
{,attributename = byref(variable)})
integer
Gets the values of any number of attributes for the object
Object
IsA(class = classname)
integer
Returns TRUE if the object is of the same class as, or one of the subclasses of, the class specified by classname
Object
SetAttribute
(
attributename = value
{,attributename = value})
integer
Sets any number of attributes for the object
Object