On 3/25/2013 6:58 PM, Dan Kimmel wrote:
Good to know. Not intuitive, to me, anyway. I suppose an indicator is
as close to boolean as RPG offers. It does make sense that the
signature would be wrong. There must be a type conversion chart in a
reference manual somewhere we could point people towards.


Here's the Java/RPG type conversion table in the ILE RPG Programmer's Guide.
http://pic.dhe.ibm.com/infocenter/iseries/v7r1m0/topic/rzasc/sc092507223.htm#javadefs

I think RPG's indicator type _is_ boolean in its intent. It's just its implementation as a byte that makes it a less than pure boolean.

Me, I think it would have been very unfriendly of RPG to map either Java boolean or RPG indicator any other way.


This thread ...

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.