|
Yeppers, I counted wrong. there is a cvthc()? that is good to know. But what was he looking for then? "the term "hex data" to refer to data that's not human-readable." would be what? ( I learn sooo much on this list.) --------------------------------------------------------- Booth Martin http://www.MartinVT.com Booth@xxxxxxxxxxxx --------------------------------------------------------- -------Original Message------- From: RPG programming on the AS400 / iSeries Date: Wednesday, July 30, 2003 1:56:41 PM To: RPG programming on the AS400 / iSeries Subject: RE: RV: Converting Packed to Char. On Wed, 30 Jul 2003, Bill Hopkins wrote: > > Isn't the 13th element 'C'? > Yep, Booth said it wrong :) When you end up with 12, and add 1, you get the 13th element, which is 'C'. And that's good, because the decimal number 12 is represented as C in hex. I don't know why Booth didn't just use cvthc()? I guess maybe he just wanted to explain the algorithm? At any rate, it's all moot, because the poster wasn't looking for a hex dump of the variable, he just used the term "hex data" to refer to data that's not human-readable.
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.