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



I use %BitOr every single day.

Steve

-----Original Message-----
From: RPG400-L <rpg400-l-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of Jon Paris
Sent: Thursday, August 27, 2020 08:45
To: RPG programming on IBM i <rpg400-l@xxxxxxxxxxxxxxxxxx>
Subject: Re: How to work with Arrays using positional RPG IV

We still (effectively) have them with the bitwise BIFs %BitAnd, %BitOr, etc.



On Aug 27, 2020, at 3:07 AM, Gad Miron <gadmiron@xxxxxxxxx> wrote:


If reminiscences are in order..



Anyone remember RPG's BITON, BITOFF ?


Once upon a time I used them to construct op codes for a Wenger
printer that was able to print reverse image text (white on black).

Gad



date: Tue, 25 Aug 2020 16:02:48 -0500
from: Joe Pluta <joepluta@xxxxxxxxxxxxxxxxx>
subject: Re: OT: Re: How to work with Arrays using positional RPG IV

Hey!? Microfiche was not just for the /34!? I worked for Zink and
Katich when I was just a babe, and I remember going through the S/38
microfiche.? Ah, those were the days... patching IBM programs to make
our own commands.

On 8/25/2020 3:49 PM, Bruce Vining wrote:
Jon,

Oh no, PL/MI is nothing like assembler (which I'm well aware you know).
I'm talking 370 and (does anyone remember it?) the S/34. Oh those
were
the
days, microfiche for the operating system and away you go :)

On Sat, Aug 22, 2020 at 5:10 PM Jon Paris <jon.paris@xxxxxxxxxxxxxx>
wrote:

"Assembler" as in PL/MI Bruce ? I suspect that even MI would be too
high level if you really want to bit twiddle!

Interestingly had the original question been about C or MI I could
understand it since they still have utility. It was ancient RPG
that
got me
and (at the time) I didn't know we were talking V5R4.



*************

--
This is the RPG programming on IBM i (RPG400-L) mailing list To post a
message email: RPG400-L@xxxxxxxxxxxxxxxxxx To subscribe, unsubscribe,
or change list options,
visit: https://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives at
https://archive.midrange.com/rpg400-l.

Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related
questions.

Help support midrange.com by shopping at amazon.com with our affiliate
link: https://amazon.midrange.com

--
This is the RPG programming on IBM i (RPG400-L) mailing list To post a
message email: RPG400-L@xxxxxxxxxxxxxxxxxx To subscribe, unsubscribe, or
change list options,
visit: https://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives at
https://archive.midrange.com/rpg400-l.

Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related
questions.

Help support midrange.com by shopping at amazon.com with our affiliate link:
https://amazon.midrange.com


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.