-
Declaration:
- Function HexStr (Value : longint; cnt : byte) : String; Function HexStr
(Value : int64; cnt : byte) : String;
-
Description:
- HexStr returns a string with the hexadecimal representation of Value. The string has
exactly cnt charaters. (i.e. only the cnt rightmost nibbles are taken into account) To have
a complete representation of a Longint-type value, 8 nibbles are needed, i.e. cnt=8.
-
Errors:
- None.
-
See also:
- Str (580), Val (588), BinStr (457)
Listing: refex/ex81.pp