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



On Wed, Aug 10, 2016 at 4:39 PM, Glenn Gundermann
<glenn.gundermann@xxxxxxxxx> wrote:
Even in fixed form, an integer of 4,0 wouldn't be allowed so your dilemna
isn't restricted to free-form.

Right, there's no such thing as a "4-digit" int, but in the fixed form
definition, the NUM_RCDS subfield was shown using from-to buffer
position notation (starting at position 156, extending to position
159), so what is needed is a 4-byte int.

int(3) ranges from -128 to 127
int(5) ranges from -32768 to 32767
int(10) ranges from -2147483648 to 2147483647

Correct, but you may want to expand on your notes. The 3-digit int
corresponds to 1 byte (2**8 possible values), 5-digit int is 2 bytes
(2**16 possible values), and 10-digit int is 4 bytes (2**32 possible
values).

In all cases above, I've used "digit" to mean base-10 digit.

John Y.

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.