On 2017-01-18 5:22 AM, j.beckeringh@xxxxxxxxxxxxxxxxxxxxxxxxxx wrote:
...
As Buck already told you, don't use '2B 0'. That would be a binary field
of 2 digits, which translates to 1 byte. ...

2B uses 2 bytes. Binary with 1-4 digits is 2 bytes, and with 5-9 digits is 4 bytes. It's only RPG's integer (I) and unsigned integer types (U) that can have 1 byte.

So 2B is still the required 2-byte binary, but it can only hold values up to 99, which might not work if the code is copied for some other command.


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