Field-Map Scripting

4.1.7.14 SetBitOfInteger

SetBitOfInteger procedure


Prototype:

procedure SetBitOfInteger (var IntegerVar :double; const Bit :integer {0..63}; const Value :byte{0/1})

Description:


Syntax:

SetBitOfInteger(Value, Bit, byte);


Part

Description


Value

number, the bits we want to set


Bit

number of the bit from which the value is to be read {0..7}




Return value:

none



See also:                

String2Float; Variant2Float; Variant2Integer; Variant2String; String2Variant; Boolean2Integer; Date2Integer; Integer2Date; Int2Hex; IntToHex; GetBitFromLastThreeDigits;

SetBitOfDouble; GetBitOfDouble; SetBitOfInteger;  GetBitIfInteger; SetBitOfBigInt;  GetBitOfBigInt