Indy 9
IntToBin
Unit: IdGlobal
Returns a binary string representation for an Integer value.
function IntToBin(Value: cardinal): string;
Unit
IdGlobal
Parameters
Value: cardinal
Cardinal value to be converted.
Return Value
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.

Created with Doc-O-Matic 2 donated to Project JEDI. Commercial license available from the Doc-O-Matic site.