Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ames!scubed!ncr-sd!babel!shehzad From: shehzad@babel.SanDiego.NCR.COM (Mevawalla Shezad) Newsgroups: comp.lang.pascal Subject: Re: Wanted : Routine to convert ASCII hex numbers into decimal value Message-ID: <1309@ncr-sd.SanDiego.NCR.COM> Date: 28 Apr 89 17:41:47 GMT References: <1290@ncr-sd.SanDiego.NCR.COM> Sender: news@ncr-sd.SanDiego.NCR.COM Reply-To: shehzad@babel.SanDiego.NCR.COM (Mevawalla Shezad) Organization: NCR Corporation, Rancho Bernardo Lines: 17 Thanks a whole bunch to everyone who responded. I felt pretty stupid when I realized how trivial the conversion routine was. A lot of people suggested using the Turbo Pacal "Val" function. I was already aware of this but what I actually needed was something which could convert Hex Strings > FFFFFFFF which Val cannot do (i.e. type real). But even then the conversion was very simple. I was so bogged down with other programming tasks that I didn't stop to think before I posted my request. When I finally did think about it it took me all of 10 minutes to code the routine. My humble apologies and many many thanks to all those who responded. ----------------------------------------------------------------------------- Disclaim, Disclaim, Disclaim, ... (ad infinitum) Shehzad Mevawalla shehzad@babel.SanDiego.NCR.COM (619) 746-2461 ------------------------------------------------------------------------------