May 16, 2007 #1 beedubau Programmer Joined Jan 7, 2003 Messages 97 Location AU I have a long list of Hex values shown as eg 0x503B that I need to convert to decimal for a lookup table. Is there a function or simple code to do this? Regards Bryan
I have a long list of Hex values shown as eg 0x503B that I need to convert to decimal for a lookup table. Is there a function or simple code to do this? Regards Bryan
May 17, 2007 #2 tsh73 Programmer Joined Apr 27, 2002 Messages 304 Location RU I was surprised but Hex is internally supprted by FoxPro. So: aStr = "0x503B" aDec = &aStr ?aDec Upvote 0 Downvote
May 17, 2007 1 #3 ChrisRChamberlain Programmer Joined Mar 23, 2000 Messages 3,392 Location GB beedubau ? EVALUATE("0x503B") FAQ184-2483Chris PDFcommander.com motrac.co.uk Upvote 0 Downvote