|
Hi Jon -
Some of the ways in which indicators behave is historical. Prior to RPG IV, indicators were simply treated as character fields, there was no real notion of a boolean. This changed a bit with RPG IV and the notion of a boolean (i.e. If Not *IN01) was introduced. Once named indicators (type N) were added, they had to basically equate to the same thing.
Back on the S/32, S/34, and S/36 (and maybe other systems), the indicators were actually bits. If you wanted to do indicator operations in an assembler subroutine, you had to use bit machine codes to test and set the indicators.
Ken http://www.kensims.net/ Opinions expressed are my own and do not necessarily represent the views of my employer or anyone in their right mind.
As an Amazon Associate we earn from qualifying purchases.
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.