Discussion:
coverting a string to its hexadecimal representation
(too old to reply)
Richard
2005-01-28 12:56:45 UTC
Permalink
Hello
Can anyone please give me or point me to the pascal code to convert a
decimal integer into its hexadecimal representation (and if possible,
vice-versa as well)? I'm writing a CGI app using freepascal and need
urlencoding and decoding.

Thanks in advance,
Richard
David Zimmerman
2005-02-02 21:33:06 UTC
Permalink
Post by Richard
Hello
Can anyone please give me or point me to the pascal code to convert a
decimal integer into its hexadecimal representation (and if possible,
vice-versa as well)?
function IntToHex(Value: Integer; Digits: Integer): string; overload;

function HexToBin(Text, Buffer: PChar; BufSize: Integer): Integer
Loading...