The function IntToBin converts an Integer value into a String of binary digits (i.e. a series of 0's and 1's).
The parameter d specifies the number of digits in the String - if d is too small to represent all of the binary digits, then a system error will occur.
Declaration: Function IntToBin( v : LongInt; d : integer) : string