|
>From: Peter Connell <peterc@baycorp.co.nz> >Date: Mon, 10 Sep 2001 08:32:38 +1200 > >C CallP cvthc(%Addr(OutputHex):%Addr(InputChar): >C %Len(OutputHex)) > >C CallP cvtch(%Addr(OutputChar):%Addr(InputHex): >C %Len(OutputChar)) Peter, watch out for the length parameter to these functions. The length to specify is the number of bytes in the longer parameter. For cvthc, the length is the number of bytes in the result, but for cvtch, the length is the number of bytes in the source. In your call to cvtch, only the first half of OutputChar would have the expected result. Barbara Morris
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.