[DUG] HEX to decimal

Steven Knight Steven.Knight at ecan.govt.nz
Fri Aug 5 08:43:10 NZST 2011


You might need to use the ORD function byte by byte

Steven

From: delphi-bounces at delphi.org.nz [mailto:delphi-bounces at delphi.org.nz] On Behalf Of Marshland Engineering
Sent: Thursday, 4 August 2011 7:47 p.m.
To: delphi at delphi.org.nz
Subject: Re: [DUG] HEX to decimal


Been there done that

edit2.text := IntToStr(StrToInt('$' + sRaw));
Result      '[' is not a valid integer.





**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.

www.clearswift.com
**********************************************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listserver.123.net.nz/pipermail/delphi/attachments/20110804/2136ba77/attachment.html 


More information about the Delphi mailing list