× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Barbara Morris wrote:

# D cvtch PR ExtProc('cvtch')
# D ptrcharOut 32767 Options(*VarSize)
# D ptrHexIn 65534 Const
# D charLength 10I 0 Value

# cvtch(ASCII: hexIn: hexLen) ;

Dennis, when I looked at your code, I thought the problem was going to
be related to the length parameter. You named the parameter
"charLength" so I thought you were going to pass in the length of the
first parameter (ptrCharOut). But the call is correct, passing the
length of the second hex parameter (ptrHexIn).

So the prototype isn't really incorrect, but it's misleading.

Point taken, Barbara, thank you. I'm not sure of the history that caused me
to use that name. I do know that in both cases (cvtch, cvthc) the length
parameter expresses the longer (the hex) length.

Regards,

Dennis Lovelady
http://www.linkedin.com/in/dennislovelady
--
"No one is useless in this world who lightens the burdens of another."
-- Charles Dickens




As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.