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



> So, keep your 4Bs, but remember to code the
> field as part of a data structure, not a standlone
> field. This way, the numbers do appear to make
> sense!(And we don't need to know that the
> machine can get 10 digits in 4 bytes!)

But that's exactly the point.  '1   4b 0' can only hold 9 digits, not
10.  The integer data type can hold 10 digits, so if you're using an
API that can return a full 10 digit integer, using the 'B' data type
will result in quiet truncation of your number and a meeting with your
friend 'unpredictable results.'  Happy debugging, because the code
might work for a decade and then go casters up with no warning
whatsoever.
  --buck





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.