× 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.



Hi Dennis,

Nice. I was thinking about coding one of these up as a sample for Matt, but didn't get a chance, and you beat me to it.

My thoughts were to use _LBCPYNV to convert the data area to the returned variable. Is that essentially what your code within the "if type = *DEC" statement does?

-SK


On 4/23/2012 2:31 PM, Dennis Lovelady wrote:
Just remember, the character data here does not contain '20.345'. If
it did, it would be easy. The data here is in hex and I need to get
it to packed.

To quote Tom Hanks: I don't even want to think about what they're not
teaching you in school! Hex, in this context, is a human's view of the
data. Packed has to do with the way the data is stored. Their usage is not
interchangeable, and neither is in/compatible with the other.

What you've said is equivalent to "I wanted to send data to by friend but
all he received was ones and zeroes."

At any rate, the code found here will, I believe, do exactly what you want.
http://code.midrange.com/83a6933d01.html

Dennis Lovelady
http://www.linkedin.com/in/dennislovelady
--
"Too bad all the people who know how to run the country are busy driving
taxis and cutting hair."
-- George Burns



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.