On Aug 5, 2011, at 1:00 PM, java400-l-request@xxxxxxxxxxxx wrote:

I would have thought the first 27 characters would contain the first 3
lots of packed decimals.The next 3 and next 9 the two text fields, then
the last lot, 9, 11 and 11 representing the last 3 packed fields.

I agree with David that PCML is the better way to go - but just wanted to correct an error in your original statement.

The three 9 digit packed fields occupy 5 bytes each - not 9. 3 x 5 = first 15 bytes - not first 27. Same will apply to other packed in the structure.

Jon Paris


As an Amazon Associate we earn from qualifying purchases.

This thread ...

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

This mailing list archive is Copyright 1997-2022 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.