-----Message d'origine-----
[mailto:rpg400-l-bounces@xxxxxxxxxxxx] De la part de Simon Coulter

You passed a 9,0 packed decimal into a procedure expecting a
9,2 packed decimal. Because CONST was specified the compiler
converted (copied to temporary) the 9,0 into a 9,2 and passed
(the address of) the converted value.

Your code received MCH1210 so which receiver was to small?
Perhaps trying to stuff 9 significant digits (9,0) into a
field capable of holding only 7 (9,2) is asking a bit much?

Actually, I wasn't stuffing, I was packing. That's why I declared the parameters as packed.

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
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.