Internet Direct (Indy) Version 9.0.2 Beta
IntToBin
Returns a binary string representation for an Integer value.

function IntToBin(Value: cardinal): string;
Parameters
Value: cardinal
Cardinal value to be converted.

Returns
String - Binary representation of the Integer value.

Description
IntToBin is a String function used to construct a binary representation of a 32-bit Integer value. The return value for IntToBin will contain a string of "0" or "1" characters for each of the bits in the integer Value.