• Subject: Re: Open Source RPG
  • From: bmorris@xxxxxxxxxx
  • Date: Thu, 13 Jan 2000 20:37:44 -0500




>Date: Thu, 13 Jan 2000 15:04:22 -0600
>From: "L. S. Russell" <leslier@datrek.com>
>
>One last submission and I won't bother you guys anymore (today).
>I put a copy source of API prototypes out on my site as open source.
> ...

Leslie, I notice that you use 9B 0 for the subfields and parameters that
are defined as BIN(4) in the API manual.  That's ok 99% of the time, but
occasionally you'll get a value returned that is within the range of
4-byte integers (which can go up to 2,147,483,647) but outside the range
for 4-byte binary (which only goes up to 999,999,999).  If you're lucky
you get an exception; if you're unlucky your program will silently use
the last 9 digits of the value.

You should always use 10i 0 instead of 9B 0 for BIN(4).

I tried to use "report a bug" but the link didn't work.  (I would have
just written to you directly, but I don't like to miss a chance to
foam at the mouth publicly about 9B 0 :-)

Barbara Morris


+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
| To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
| To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---

This thread ...

Follow-Ups:

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

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