[comp.lang.pascal] Converting Hex Notation to Strings

2flnrescue@kuhub.cc.ukans.edu (10/11/90)

I'm having some trouble getting a function that reads in an integer, and then
returns the number in hex notation (23h, $23, etc.) but in a 3 character
packed array (i.e.,  HexVar = packed array[1..3] of char;...HexVar :='23h').
I know how to convert an integer to a string, but a hex number to a string?
E-mail me if you have any solutions.

BTW, you can use any fancy functions you want to, as long as they exist on
Lightspeed Pascal.

2FLNRESCUE@KUHUB.CC.UKANS.EDU