|
From: <Gene_Gaunt@ReviewWorks.com> > At least the MCH1201 "scalar data cannot be changed" describes your problem > when the source is MI. Unfortunately the C function 'cvthc' throws a red > herring MCH3601 "pointer not set for location referenced" when the source > operand is not good hex. For example: > > /free > CVTCH( %addr( Target ) : %addr( Source ) : 6 ); > *INLR = *on; > /end-free > > Instead of some SENSIBLE message like "invalid hex character", this code > fails with MCH3601 "pointer not set for location referenced" . > confusion reigns supreme. Gene means 'cvtch', and "good hex" means "good character representation" (in CVT-speak 'hex' is binary and is always good, and 'character' means 'hexadecimal representation'). But IMHO, both error messages are bad. It should have been: "invalid hexadecimal representation".
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.