×
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.
Dennis Lovelady wrote:
Folks, I have posted code at http://code.midrange.com/6d4d39e9e7.html that
is intended to exercise the cvtch procedure (to convert hex characters to
the binary data they represent).
# 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.
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.