-
Declaration:
- Function BinStr (Value : longint; cnt : byte) : String;
-
Description:
- BinStr returns a string with the binary representation of Value. The string has at most
cnt characters. (i.e. only the cnt rightmost bits are taken into account) To have a complete
representation of any longint-type value, 32 bits are needed, i.e. cnt=32
-
Errors:
- None.
-
See also:
- Str (580),Val (588),HexStr (509), OctStr (540)
Listing: refex/ex82.pp