Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!kuhub.cc.ukans.edu!2flnrescue From: 2flnrescue@kuhub.cc.ukans.edu Newsgroups: comp.lang.pascal Subject: Converting Hex Notation to Strings Message-ID: <26047.271335d0@kuhub.cc.ukans.edu> Date: 10 Oct 90 19:53:03 GMT Organization: University of Kansas Academic Computing Services Lines: 10 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