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


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.